Skip to content
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

logArgs not logging properly #27

Open
ycsung opened this issue Feb 12, 2013 · 0 comments
Open

logArgs not logging properly #27

ycsung opened this issue Feb 12, 2013 · 0 comments

Comments

@ycsung
Copy link

ycsung commented Feb 12, 2013

I setup the daemon and used logArgs as a test plugin as suggested. I noticed that nothing was being logged to the plugin.logArgs file (it was created by contained no log message). I found that it was necessary to add this line

    self._logger.setLevel(self._engine.config.getLogLevel())

at the end of Callback.init() to make the logging module write to the log file.

I don't totally understand why since the logger's effective log level is 10 already. But there it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant