-
Notifications
You must be signed in to change notification settings - Fork 687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add debug config option for irc-fw debug log #547
Conversation
When merged, this will close #459. First of, two things that need checking:
Are there any other place where it's worth logging debugs at the moment? |
Actually, if it's not set it will be undefined so it won't pass the if anyway. Same as the default, so we're fine even without the new config merging feature. For now config can't change at runtime so I think it is fine that way. Eventually we probably will want that to change, but we'll also probably want config change listeners so we'll probably change it anyway to dynamically on/off the debugging as well. As for |
Hmm, not sure I understand. Does that mean that in all currently deployed instances of The Lounge, unless they update their config file, will be run in dev mode after upgrading? That seems extreme :-) The real question is... what does Regarding other places to log, when it comes to |
Hey @maxpoulin64, could you rebase this on master please? After sleeping on it, regarding Regarding debug modes of other dependencies, we can either take a look now or add them later in a different PR if needs be. I don't have a strong opinion on that. |
9b9eb90
to
0c3dc31
Compare
Rebased as there was simply a conflict on 👍 and merging. |
Add debug config option for irc-fw debug log
Because ifs are too dangerous for pre5.