|
@@ -9,107 +9,28 @@
|
|
|
# Developers may set the DESKTOP_DEBUG environment variable to
|
|
# Developers may set the DESKTOP_DEBUG environment variable to
|
|
|
# enable stderr logging output.
|
|
# enable stderr logging output.
|
|
|
########################################
|
|
########################################
|
|
|
-
|
|
|
|
|
[logger_root]
|
|
[logger_root]
|
|
|
-handlers=logfile,errorlog
|
|
|
|
|
-
|
|
|
|
|
-[logger_access]
|
|
|
|
|
-handlers=accesslog
|
|
|
|
|
-qualname=access
|
|
|
|
|
-
|
|
|
|
|
-[logger_django_auth_ldap]
|
|
|
|
|
-handlers=accesslog
|
|
|
|
|
-qualname=django_auth_ldap
|
|
|
|
|
-
|
|
|
|
|
-[logger_kazoo_client]
|
|
|
|
|
-level=INFO
|
|
|
|
|
-handlers=errorlog
|
|
|
|
|
-qualname=kazoo.client
|
|
|
|
|
-
|
|
|
|
|
-[logger_djangosaml2]
|
|
|
|
|
-level=INFO
|
|
|
|
|
-handlers=errorlog
|
|
|
|
|
-qualname=djangosaml2
|
|
|
|
|
-
|
|
|
|
|
-[logger_requests_packages_urllib3_connectionpool]
|
|
|
|
|
-level=DEBUG
|
|
|
|
|
-handlers=errorlog
|
|
|
|
|
-qualname=requests.packages.urllib3.connectionpool
|
|
|
|
|
-
|
|
|
|
|
-[logger_django_db]
|
|
|
|
|
-level=DEBUG
|
|
|
|
|
-handlers=errorlog
|
|
|
|
|
-qualname=django.db.backends
|
|
|
|
|
-
|
|
|
|
|
-[logger_boto]
|
|
|
|
|
-level=ERROR
|
|
|
|
|
-handlers=errorlog
|
|
|
|
|
-qualname=boto
|
|
|
|
|
-
|
|
|
|
|
-[logger_gunicorn.error]
|
|
|
|
|
-level=INFO
|
|
|
|
|
-handlers=errorlog
|
|
|
|
|
-propagate=1
|
|
|
|
|
-qualname=gunicorn.error
|
|
|
|
|
-
|
|
|
|
|
-[logger_gunicorn.access]
|
|
|
|
|
-level=INFO
|
|
|
|
|
-handlers=accesslog
|
|
|
|
|
-propagate=0
|
|
|
|
|
-qualname=gunicorn.access
|
|
|
|
|
-
|
|
|
|
|
-[handler_stderr]
|
|
|
|
|
-class=StreamHandler
|
|
|
|
|
-formatter=default
|
|
|
|
|
-level=DEBUG
|
|
|
|
|
-args=(sys.stderr,)
|
|
|
|
|
-
|
|
|
|
|
-[handler_stdout]
|
|
|
|
|
-class=StreamHandler
|
|
|
|
|
-formatter=default
|
|
|
|
|
-level=DEBUG
|
|
|
|
|
-args=(sys.stdout,)
|
|
|
|
|
-
|
|
|
|
|
-[handler_accesslog]
|
|
|
|
|
-class=handlers.RotatingFileHandler
|
|
|
|
|
-level=INFO
|
|
|
|
|
-propagate=True
|
|
|
|
|
-formatter=access
|
|
|
|
|
-args=('%LOG_DIR%/access.log', 'a', 1000000, 3)
|
|
|
|
|
-
|
|
|
|
|
-[handler_errorlog]
|
|
|
|
|
-class=handlers.RotatingFileHandler
|
|
|
|
|
-level=ERROR
|
|
|
|
|
-formatter=default
|
|
|
|
|
-args=('%LOG_DIR%/error.log', 'a', 1000000, 3)
|
|
|
|
|
|
|
+handlers=logfile
|
|
|
|
|
|
|
|
[handler_logfile]
|
|
[handler_logfile]
|
|
|
-class=handlers.RotatingFileHandler
|
|
|
|
|
-# Choices are DEBUG, INFO, WARNING, ERROR, CRITICAL
|
|
|
|
|
level=DEBUG
|
|
level=DEBUG
|
|
|
|
|
+class=handlers.SocketHandler
|
|
|
formatter=default
|
|
formatter=default
|
|
|
-args=('%LOG_DIR%/%PROC_NAME%.log', 'a', 1000000, 3)
|
|
|
|
|
|
|
+args=("/tmp/hue.uds",None,)
|
|
|
|
|
|
|
|
[formatter_default]
|
|
[formatter_default]
|
|
|
class=desktop.log.formatter.Formatter
|
|
class=desktop.log.formatter.Formatter
|
|
|
format=[%(asctime)s] %(module)-12s %(levelname)-8s %(message)s
|
|
format=[%(asctime)s] %(module)-12s %(levelname)-8s %(message)s
|
|
|
datefmt=%d/%b/%Y %H:%M:%S %z
|
|
datefmt=%d/%b/%Y %H:%M:%S %z
|
|
|
|
|
|
|
|
-[formatter_access]
|
|
|
|
|
-class=desktop.log.formatter.Formatter
|
|
|
|
|
-format=[%(asctime)s] %(levelname)-8s %(message)s
|
|
|
|
|
-datefmt=%d/%b/%Y %H:%M:%S %z
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
########################################
|
|
########################################
|
|
|
# A summary of loggers, handlers and formatters
|
|
# A summary of loggers, handlers and formatters
|
|
|
########################################
|
|
########################################
|
|
|
-
|
|
|
|
|
[loggers]
|
|
[loggers]
|
|
|
-keys=root,access,django_auth_ldap,kazoo_client,requests_packages_urllib3_connectionpool,djangosaml2,django_db,boto,gunicorn.error,gunicorn.access
|
|
|
|
|
|
|
+keys=root
|
|
|
|
|
|
|
|
[handlers]
|
|
[handlers]
|
|
|
-keys=stderr,logfile,accesslog,errorlog,stdout
|
|
|
|
|
|
|
+keys=logfile
|
|
|
|
|
|
|
|
[formatters]
|
|
[formatters]
|
|
|
-keys=default,access
|
|
|
|
|
|
|
+keys=default
|