Open digulla opened 5 years ago
The code currently calls getLog().isDebugEnabled() to set the verbose flag.
getLog().isDebugEnabled()
In the code, I see patterns like these:
This feels like a hack to get logging at a level between INFO and DEBUG.
I suggest to get rid of the "verbose" flag and always log at DEBUG level for these.
For the blocks that prepare a complex string, use log.isDebugEnabled() directly.
What would happen with the verbose Mojo parameter?
verbose
verbose Mojo parameter can be deprecated.
The code currently calls
getLog().isDebugEnabled()
to set the verbose flag.In the code, I see patterns like these:
This feels like a hack to get logging at a level between INFO and DEBUG.
I suggest to get rid of the "verbose" flag and always log at DEBUG level for these.
For the blocks that prepare a complex string, use log.isDebugEnabled() directly.