-
Hi guys, i want to create a (go) pulsar function in a k8s environment. To set the log level, i want to set the environment variable "LOGGING_LEVEL" to "Debug". Is there an easy way i can achieve this using the pulsar admin tools? i tried it with the custom-runtime-options but that didn't work.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
After some discussion on the pulsar slack channel it seems that custom-runtime-options are only supported in the java runtime. Workaround is to define the log level in the userConfig and set the level manually in the go function: function config file:
setting log level in the go function:
|
Beta Was this translation helpful? Give feedback.
After some discussion on the pulsar slack channel it seems that custom-runtime-options are only supported in the java runtime. Workaround is to define the log level in the userConfig and set the level manually in the go function:
function config file:
setting log level in the go function: