Reviewed: https://review.openstack.org/50869 Committed: http://github.com/openstack/horizon/commit/06c9477acf908f0c93daf846e9f1a85feee06756 Submitter: Jenkins Branch: milestone-proposed
commit 06c9477acf908f0c93daf846e9f1a85feee06756 Author: Julie Pichon <jpic...@redhat.com> Date: Tue Oct 8 11:35:54 2013 +0100 Improve default logging configuration By default, a number of serious exceptions were not being logged. Adding a logger for 'django'-related logs resolves this. Also: - Add loggers for missing clients and django_openstack_auth - Add a default level for individual loggers (what makes it out to the log file remains determined by the handler configuration) Change-Id: Id3478ac8ec79f22c19ef66e747f3701f98a36611 Closes-Bug: #1236423 (cherry picked from commit 3ccd927251a69905b2c3f1ee496c174eaeb1f8eb) ** Changed in: horizon Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon). https://bugs.launchpad.net/bugs/1236423 Title: Default LOGGING configuration doesn't log anything Status in OpenStack Dashboard (Horizon): Fix Released Bug description: It would appear the default logging configuration suggested in the example file doesn't log anything when DEBUG is set to False. https://github.com/openstack/horizon/blob/master/openstack_dashboard/local/local_settings.py.example#L241 1. I got better results after adding a logger for 'django' (although 'django.requests' on its own might be sufficient?). It would be good to ship a logging configuration that works well out of the box. 2. Should the loggers each have their own 'level' set? It seems to be the suggested way to go in python and django examples (e.g. https://docs.djangoproject.com/en/1.4/topics/logging/#an-example ) To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1236423/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp