1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

remove the default debug logging that will use up SD card

This commit is contained in:
George Hunt 2018-09-30 02:46:58 +00:00
parent f59dbfbce9
commit 25eb4acada

View file

@ -66,7 +66,6 @@ if len(sys.argv) > 1 and sys.argv[1] == '-l':
loggingLevel = logging.DEBUG
else:
loggingLevel = logging.ERROR
loggingLevel = logging.DEBUG
logging.basicConfig(filename='/var/log/apache2/portal.log',format='%(asctime)s.%(msecs)03d:%(name)s:%(message)s', datefmt='%M:%S',level=loggingLevel)