streamnative / function-mesh

The serverless framework purpose-built for event streaming applications.
https://functionmesh.io/
Apache License 2.0
210 stars 27 forks source link

java log config always using the `java_instance_log4j.xml` when the `java.Log.LogConfig` is set #764

Closed jiangpengcheng closed 3 weeks ago

jiangpengcheng commented 3 weeks ago

for example, with below java log config:

java:
  log:
    javaLog4JConfigFileType: yaml
    logConfig:
        key: log.yaml
        name: mylog

the correct way is to use java_instance_log4j.yaml as the -Dpulsar.function.log.file, but it still use the java_instance_log4j.xml