Ensure that debug logs are disabled in production
labra opened this issue · 1 comments
A lot of information is being generated in the RDFShape logs which adds a lot of noise to the whole application. Ensure that all debug information is generated through the debug level log and minimize the error level log to print only the required information.
In #286 the logging mechanism was changed to only store logs of priority INFO and higher.
The logs shown on console may be adjusted by the parameter -v
or completely silenced with -s
.
This is already working well, but all of the app's dependencies should refrain from printing to console and use logging mechanisms for us to be able to store/filter/silence these messages as needed.
Further tuning can be made by using logback filters. An example of such filters has been implemented in our code for adjusting verbosity (-v
) and silent mode (-s
).