mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 19:22:24 +00:00
correct typo in capture-wsgi.py.j2
This commit is contained in:
parent
2acf98af60
commit
ab411eda65
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ if len(sys.argv) > 1:
|
||||||
loggingLevel = "DEBUG"
|
loggingLevel = "DEBUG"
|
||||||
|
|
||||||
# set up some logging -- selectable for diagnostics
|
# set up some logging -- selectable for diagnostics
|
||||||
logging.basicConfig(filename='/var/log/captiveprotal/captiveportal.log',format='%(asctime)s.%(msecs)03d:%(name)s:%(message)s', datefmt='%M:%S',level=loggingLevel)
|
logging.basicConfig(filename='/var/log/captiveportal/captiveportal.log',format='%(asctime)s.%(msecs)03d:%(name)s:%(message)s', datefmt='%M:%S',level=loggingLevel)
|
||||||
logger = logging.getLogger('/var/log/captiveportal/captiveportal.log')
|
logger = logging.getLogger('/var/log/captiveportal/captiveportal.log')
|
||||||
handler = RotatingFileHandler("/var/log/captiveportal/captiveportal.log", maxBytes=100000, backupCount=2)
|
handler = RotatingFileHandler("/var/log/captiveportal/captiveportal.log", maxBytes=100000, backupCount=2)
|
||||||
logger.addHandler(handler)
|
logger.addHandler(handler)
|
||||||
|
|
Loading…
Reference in a new issue