diff --git desktop/conf.dist/log.conf desktop/conf.dist/log.conf index b7faf24106003fe625a27cc9cf57973c7e9989da..a6054352e21cc7c6f066fb9a5d3d942ea7977608 100644 --- desktop/conf.dist/log.conf +++ desktop/conf.dist/log.conf @@ -22,6 +22,10 @@ handlers=logfile,errorlog handlers=accesslog qualname=access +[logger_django_auth_ldap] +handlers=accesslog +qualname=django_auth_ldap + # The logrotation limit is set at 5MB per file for a total of 5 copies. # I.e. 25MB for each set of logs. [handler_accesslog] @@ -49,7 +53,7 @@ format=[%(asctime)s] %(levelname)-8s %(message)s datefmt=%d/%b/%Y %H:%M:%S %z [loggers] -keys=root,access +keys=root,access,django_auth_ldap [handlers] keys=logfile,accesslog,errorlog diff --git desktop/conf/log.conf desktop/conf/log.conf index eeff378b16b0fa5545fa88510b66bbbdbeda1bbc..581f0124e54897e1e4c30f911bc470cf920b03ef 100644 --- desktop/conf/log.conf +++ desktop/conf/log.conf @@ -17,6 +17,10 @@ handlers=logfile,errorlog handlers=accesslog qualname=access +[logger_django_auth_ldap] +handlers=accesslog +qualname=django_auth_ldap + [handler_stderr] class=StreamHandler formatter=default @@ -59,7 +63,7 @@ datefmt=%d/%b/%Y %H:%M:%S %z ######################################## [loggers] -keys=root,access +keys=root,access,django_auth_ldap [handlers] keys=stderr,logfile,accesslog,errorlog