1
0
Fork 0
mirror of https://github.com/kakwa/ldapcherry synced 2025-07-04 20:37:48 +02:00

adding the possibility to log to stdout

This commit is contained in:
kakwa 2019-02-10 18:12:45 +01:00
parent 57bcaaed66
commit e6bcf9d97d
4 changed files with 30 additions and 4 deletions

View file

@ -152,7 +152,7 @@ class TestError(object):
def testLog(self):
app = LdapCherry()
cfg = { 'global' : {}}
for t in ['none', 'file', 'syslog']:
for t in ['none', 'file', 'syslog', 'stdout']:
cfg['global']['log.access_handler']=t
cfg['global']['log.error_handler']=t
app._set_access_log(cfg, logging.DEBUG)