|
|
@ -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', |
|
|
|