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

Logging is not working correctly #25

Open
cybertoast opened this issue May 3, 2012 · 0 comments
Open

Logging is not working correctly #25

cybertoast opened this issue May 3, 2012 · 0 comments

Comments

@cybertoast
Copy link
Collaborator

Logging handlers are not writing to the destination defined in the config file. Change requires that logging use the webpy logging process, instead of assuming that stdout/stderror will be caught by the target.

The solution steps are as follows:

  • Change framework/log.py to use webpy's logging process
  • Ensure that there's an SMTP handler so that errors are emailed to admins
  • Add sqlalchemy.engine logging handler
  • Remove timed-rotation-filehandler since it's better to implement this with logrotate.d
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