| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- ########################################
- # Definition for the different objects
- #
- # Directories where log files are kept must already exist.
- # That's why we pick /tmp.
- #
- # The loggers are configured to write to the log files ONLY.
- # Developers may set the DESKTOP_DEBUG environment variable to
- # enable stderr logging output.
- ########################################
- [logger_root]
- level=NOTSET
- handlers=logfile,errorlog
- [logger_access]
- level=NOTSET
- handlers=accesslog
- qualname=access
- [logger_django_auth_ldap]
- level=NOTSET
- handlers=accesslog
- qualname=django_auth_ldap
- [logger_kazoo_client]
- level=NOTSET
- handlers=errorlog
- qualname=kazoo.client
- [logger_djangosaml2]
- level=NOTSET
- handlers=errorlog
- qualname=djangosaml2
- [logger_requests_packages_urllib3_connectionpool]
- level=NOTSET
- handlers=errorlog
- qualname=requests.packages.urllib3.connectionpool
- [logger_django_db]
- level=NOTSET
- handlers=errorlog
- qualname=django.db.backends
- [logger_boto]
- level=NOTSET
- handlers=errorlog
- qualname=boto
- [handler_stderr]
- class=StreamHandler
- formatter=default
- level=NOTSET
- args=(sys.stderr,)
- [handler_accesslog]
- class=handlers.RotatingFileHandler
- level=NOTSET
- propagate=True
- formatter=access
- args=('%LOG_DIR%/access.log', 'a', 5000000, 5)
- [handler_errorlog]
- class=handlers.RotatingFileHandler
- level=NOTSET
- formatter=default
- args=('%LOG_DIR%/error.log', 'a', 5000000, 5)
- [handler_logfile]
- class=handlers.RotatingFileHandler
- # Choices are DEBUG, INFO, WARNING, ERROR, CRITICAL
- level=NOTSET
- formatter=default
- args=('%LOG_DIR%/rungunicornserver.log', 'a', 5000000, 5)
- [formatter_default]
- class=logging.Formatter
- format=[%(asctime)s] %(module)-12s %(levelname)-8s %(message)s
- datefmt=%d/%b/%Y %H:%M:%S %z
- [formatter_access]
- class=logging.Formatter
- format=[%(asctime)s] %(levelname)-8s %(message)s
- datefmt=%d/%b/%Y %H:%M:%S %z
- ########################################
- # A summary of loggers, handlers and formatters
- ########################################
- [loggers]
- keys=root,access,django_auth_ldap,kazoo_client,requests_packages_urllib3_connectionpool,djangosaml2,django_db,boto
- [handlers]
- keys=stderr,logfile,accesslog,errorlog
- [formatters]
- keys=default,access
|