larshelge opened a new issue #7242: URL: https://github.com/apache/pulsar/issues/7242
I want to configure Apache Pulsar to log output to file when in standalone mode. I am reading the documentation but it is not clear how to achieve this. I am running Pulsar in standalone mode from a `systemd` service, with an exec command like this: ```sh /var/lib/apache-pulsar/bin/pulsar standalone ``` Now the Pulsar log configuration is documented here, and specifies that you can use configuration properties like pulsar.root.logger to configure logging through Log4J. However what is not clear is where do you define these log-related properties? In which configuration file do they go? Or should you make changes in `log4j2.yaml` directly? This is not covered in the documentation as far as I can see. Changing e.g. `pulsar.routing.appender.default` to `RollingFile` does not seem to have an effect. Describing the complete steps of enabling logging to file in standalone mode would be very helpful and appreciated. Thanks in advance for any assistance. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
