mirror of https://github.com/craigerl/aprsd.git
fixed webchat logging.logformat typeoh
This fixes a problem with webchat when specifying the logfile in aprsd config
This commit is contained in:
parent
e06305fceb
commit
8dd3b05bb1
|
@ -4,6 +4,7 @@ CHANGES
|
|||
v3.1.3
|
||||
------
|
||||
|
||||
* prep for 3.1.3
|
||||
* Forcefully allow development webchat flask
|
||||
|
||||
v3.1.2
|
||||
|
|
|
@ -377,7 +377,7 @@ def setup_logging(flask_app, loglevel, quiet):
|
|||
log_file = CONF.logging.logfile
|
||||
|
||||
if log_file:
|
||||
log_format = CONF.loging.logformat
|
||||
log_format = CONF.logging.logformat
|
||||
log_formatter = logging.Formatter(fmt=log_format, datefmt=date_format)
|
||||
fh = RotatingFileHandler(
|
||||
log_file, maxBytes=(10248576 * 5),
|
||||
|
|
Loading…
Reference in New Issue