Update public source
This commit is contained in:
+8
-2
@@ -68,6 +68,11 @@ from sudo import SudoChecker
|
||||
from config import Config
|
||||
from gps_test import GPSTestService
|
||||
from gui.timezones import get_timezone_options
|
||||
from logging_config import (
|
||||
LOG_DATE_FORMAT,
|
||||
LOG_FORMAT,
|
||||
UTCFormatter,
|
||||
)
|
||||
|
||||
app = Flask(
|
||||
__name__,
|
||||
@@ -103,8 +108,9 @@ if not logger.handlers:
|
||||
)
|
||||
|
||||
handler.setFormatter(
|
||||
logging.Formatter(
|
||||
"%(asctime)s [%(levelname)s] %(name)s: %(message)s"
|
||||
UTCFormatter(
|
||||
LOG_FORMAT,
|
||||
datefmt=LOG_DATE_FORMAT,
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user