ethqunzhong commented on issue #14298:
URL: https://github.com/apache/pulsar/issues/14298#issuecomment-1041436938


   > > Did you try with 2.9 or current master?
   > > Usually I use a ENV property Also if you are using Pulsar standalone the 
only way is to use the ENV property
   > 
   > you mean add ENV property such as `PULSAR_LOG_LEVEL` in `pulsar_env.sh` , 
then run command `/bin/pulsar-daemon start broker` ?
   
   i have a test,  result as follow:
   as log4j2.yaml using way, 
   <img width="361" alt="image" 
src="https://user-images.githubusercontent.com/16517186/154263941-6c063f6f-d0b8-4cb5-8ed5-5e5b226382ca.png";>
   `pulsar.log.level` go into effect only set by ENV property 
`PULSAR_LOG_LEVEL` which set in `pulsar_env.sh` while service starting. 
   while service running, change `pulsar.log.level` in log4j2.yaml is not work, 
`pulsar.log.level` is unmodifiable now.


-- 
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]


Reply via email to