-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
The gerrit command gerrit logging set-level should be able to change the logging level of ReviewAssistant.
According to the SLF4J user manual, using LoggerFactory.getLogger(ReviewAssistant.class), creates a logger named "ReviewAssistant". The gerrit command has a parameter for setting the log level of all loggers containing the argument. Hence, "Ass" would match the logger created above. Decision has to be made:
- One could use the currect logger names and get a more granular log level switching. The different logger names would then need to be documented thoroughly.
- One could change the
getLogger(Class<?> clazz)to thegetLogger(String name), and use a common name for all loggers, such as "reviewassistant". It would then be possible to switch all of ReviewAssistant's logger levels withgerrit logging set-level debug reviewassistant.
Reactions are currently unavailable