streamnative / function-mesh

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

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

Closed jiangpengcheng closed 5 months ago

jiangpengcheng commented 5 months 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