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:
parent
57bcaaed66
commit
e6bcf9d97d
4 changed files with 30 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue