I'm asking review here specially because there's a bug in the actual code situation.
If I start the bot like...
ircbot.py -f debug freenode
...the log in the file will be DEBUG and the log in the stdout will be INFO. This is OK! But if something bad happens (try breaking a plugin on purpose, for example, to get an exception), this exception will be logged in the file but NOT shown in the standard output. Why??
I'm asking review here specially because there's a bug in the actual code situation.
If I start the bot like...
ircbot.py -f debug freenode
...the log in the file will be DEBUG and the log in the stdout will be INFO. This is OK! But if something bad happens (try breaking a plugin on purpose, for example, to get an exception), this exception will be logged in the file but NOT shown in the standard output. Why??