nodece commented on PR #22017:
URL: https://github.com/apache/pulsar/pull/22017#issuecomment-1926356261
Thanks for your explanation!
Usually, we only need to modify the property from the `log4j2.yaml`, I hope
this is an out-of-the-box feature.
```
Properties:
Property:
- name: "pulsar.log.dir"
value: "logs"
- name: "pulsar.log.file"
value: "pulsar.log"
- name: "pulsar.log.immediateFlush"
value: "false"
- name: "pulsar.log.appender"
value: "RoutingAppender"
- name: "pulsar.log.root.level"
value: "info"
- name: "pulsar.log.level"
value: "info"
- name: "pulsar.routing.appender.default"
value: "Console"
```
As you said, I need to make a new `log4j2.yaml` instead of Pulsar's
`log4j2.yaml`, this will increase the cost of operation and maintenance
personnel.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]