-
I am one of the Flow plugin developers, I noticed that the default log level of Flow is INFO, I am wondering how to change the log level to DEBUG in Flow, thus I can debug my plugin more efficient using API.LogDebug() and needn't to worry bothering users because their default log level is INFO. For now, I can't find some settings to change log level, also, if it is currently not supported, I think it will be nice if added. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Well, after exploring the source code, I find it the DEBUG log level will be used only in debug mode currently, so if I want to see the debug output, I have to build another debug version of Flow, it's really inconvenient, so do you have any plan to support change log level in settings? |
Beta Was this translation helpful? Give feedback.
Hi there, how's it going?
The log level currently is not a good design, and has not been used properly.
Generally logging is done only when there is an error, and info level just outputs query running times not code related.
Debug level logging is not really used at all within flow itself so even with a debug build you wont get much info than what you currently get in the logs.
There is pending work to redo logging completely and when we do we should support the ability to change logging from flow settings UI and expose the level through the API.