You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/04/14 06:34:26 UTC

[GitHub] [pulsar] sijie commented on issue #5917: Add ability to change server log level for prebuilt images

sijie commented on issue #5917: Add ability to change server log level for prebuilt images
URL: https://github.com/apache/pulsar/issues/5917#issuecomment-613253053
 
 
   @Lanayx : 
   
   I think you can configure the log level through the system environments provided in `bin/pulsar`. You can add `PULSAR_LOG_LEVEL` and `PULSAR_LOG_ROOT_LEVEL` to the corresponding configmap.
   
   ```
   PULSAR_LOG_DIR=${PULSAR_LOG_DIR:-"$PULSAR_HOME/logs"}
   PULSAR_LOG_APPENDER=${PULSAR_LOG_APPENDER:-"RoutingAppender"}
   PULSAR_LOG_ROOT_LEVEL=${PULSAR_LOG_ROOT_LEVEL:-"info"}
   PULSAR_LOG_LEVEL=${PULSAR_LOG_LEVEL:-"info"}
   PULSAR_ROUTING_APPENDER_DEFAULT=${PULSAR_ROUTING_APPENDER_DEFAULT:-"Console"}
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services