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 2021/05/18 05:24:14 UTC

[GitHub] [pulsar] eolivelli commented on a change in pull request #10617: [docs] Issue #10389 - Documenting function log level customization

eolivelli commented on a change in pull request #10617:
URL: https://github.com/apache/pulsar/pull/10617#discussion_r634049645



##########
File path: site2/docs/functions-develop.md
##########
@@ -656,6 +656,185 @@ $ bin/pulsar-admin functions create \
 
 All logs produced by `LoggingFunction` above can be accessed via the `persistent://public/default/logging-function-logs` topic.
 
+#### Customize Function log level
+Additionally, you can use the XML file, `functions_log4j2.xml`, to customize the function log level. 
+To customize the function log level, create or update `functions_log4j2.xml` in your Pulsar conf directory (for example, `/etc/pulsar/`) to contain contents such as:

Review comment:
       Can we refer to /pulsar/conf ?
   This is the path you have when you run on k8s/docker and it is widely used




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