# LOGGING # Logging configuration generally follows the style of the standard # Python logging module configuration. Note that when specifying # log format messages, you need to use *() for formatting variables. # Deployment independent log configuration is in ldapadm/config/log.cfg [logging] [[loggers]] [[[ldapadm]]] level='DEBUG' qualname='ldapadm' handlers=['debug_out'] [[[timka_ldap]]] level='DEBUG' qualname='timka.ldap' handlers=['debug_out'] [[[allinfo]]] level='INFO' handlers=['debug_out'] [[formatters]] [[[message_only]]] format='*(message)s' [[[full_content]]] format='*(asctime)s *(levelname)s *(name)s:*(lineno)s: *(message)s' #[[handlers]] # Log rotation example #[[[mainlog]]] #level='DEBUG' #class='RotatingFileHandler' #args='("/var/log/ldapadm/ldapadm.log", "a", 1024*1024*1024, 10)' #formatter='full_content'