Currently all Scripts are logging via the print function which results in a message with INFO loglevel in the logfile. Is it possible to use python logging instead, or do you have another suggestion for controlling the loglevel of messages?
Hi Marcel Thannhaeuser,
Yes, there are some ways to control the logLevel.
Please, find an attribute named as logginglevel
for both of oxtrust
and oxauth
under JSON Configuration of Gluu Server GUI, then select the level.
I think it's possible to use python logging in the script. Let me check first. I will let you know the update.
Regards ~ Shakil
Hi Marcel Thannhaeuser,
I think using print
is okay. Because this is how gluu maintains log management. Please read through this link to know more about it.
https://gluu.org/docs/gluu-server/3.1.7/operation/logs/
Thanks & Regards ~ Shakil