Browse Source

format app name as string, enclose log message in string

master
Edoardo Putti 7 years ago
parent
commit
2bc67a2146
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      server.py

+ 1
- 1
server.py View File

@ -10,7 +10,7 @@ from functools import wraps
app = Flask(__name__)
logfmt = logging.Formatter('time=%(asctime)s level=%(levelname)s app=%(name) msg=%(message)s')
logfmt = logging.Formatter('time=%(asctime)s level=%(levelname)s app=%(name)s msg="%(message)s"')
logrotate = RotatingFileHandler(
'/var/log/login/server',


Loading…
Cancel
Save