zD12 / pircbotx

Automatically exported from code.google.com/p/pircbotx
0 stars 0 forks source link

Ability to disable verbose #153

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In previous versions of PircBotX, there were simple methods that allowed me to 
disable the IRC verbose messages from being logged. In 2.0, i haven't managed 
to find the same options. Was it removed? Is there any chance of it being 
readded?

Original issue reported on code.google.com by BranicY...@live.co.uk on 30 Nov 2013 at 8:46

GoogleCodeExporter commented 9 years ago
Logging is now handled by the SLF4J framework which integrates with your 
preferred logging system (logback, log4j, jdk, etc). Verbose mode was removed 
since PircBotX shouldn't worry about logging specifics.

If your using logback, you can filter any logging event that has the 
"pircbotx.input" or "pircbotx.output" marker. If your using something else, 
filter all INFO lines from org.pircbotx.InputParser and 
org.pircbotx.output.OutputRaw

Original comment by Lord.Qua...@gmail.com on 3 Dec 2013 at 3:06