Advertisement
Guest User

Untitled

a guest
Sep 13th, 2012
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. /etc/openstack-dashboard/local_settings:
  2.  
  3. LOGGING = {
  4.        'version': 1,
  5.        # When set to True this will disable all logging except
  6.        # for loggers specified in this configuration dictionary. Note that
  7.        # if nothing is specified here and disable_existing_loggers is True,
  8.        # django.db.backends will still log unless it is disabled explicitly.
  9.        'disable_existing_loggers': False,
  10.        'handlers': {
  11.            'null': {
  12.                'level': 'DEBUG',
  13.                'class': 'django.utils.log.NullHandler',
  14.                },
  15.            'console': {
  16.                # Set the level to "DEBUG" for verbose output logging.
  17.                'level': 'DEBUG',
  18.                'class': 'logging.FileHandler', # <-------------------------- I changed this
  19.                'filename': '/tmp/horizon.log', # <-------------------------- And this
  20.                },
  21.            },
  22.        'loggers': {
  23.            # Logging from django.db.backends is VERY verbose, send to null
  24.            # by default.
  25.            'django.db.backends': {
  26.                'handlers': ['console'],
  27.                'propagate': False,
  28.                },
  29.            'horizon': {
  30.                'handlers': ['console'],
  31.                'propagate': False,
  32.            },
  33.            'novaclient': {
  34.                'handlers': ['console'],
  35.                'propagate': False,
  36.            },
  37.            'keystoneclient': {
  38.                'handlers': ['console'],
  39.                'propagate': False,
  40.            },
  41.            'nose.plugins.manager': {
  42.                'handlers': ['console'],
  43.                'propagate': False,
  44.            }
  45.        }
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement