mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
better logging
This commit is contained in:
@@ -81,7 +81,7 @@ logging:
|
|||||||
console:
|
console:
|
||||||
(): logging.Formatter
|
(): logging.Formatter
|
||||||
style: "{"
|
style: "{"
|
||||||
format: "{name:20.20} {levelname:>7} --- {message}"
|
format: "{name:30.30} {levelname:>7} --- {message}"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
console:
|
console:
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ logging:
|
|||||||
console:
|
console:
|
||||||
(): logging.Formatter
|
(): logging.Formatter
|
||||||
style: "{"
|
style: "{"
|
||||||
format: "{name:20.20} {levelname:>7} --- {message}"
|
format: "{name:30.30} {levelname:>7} --- {message}"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
console:
|
console:
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ logging:
|
|||||||
(): logging.Formatter
|
(): logging.Formatter
|
||||||
style: "{"
|
style: "{"
|
||||||
datefmt: "%H:%M:%S"
|
datefmt: "%H:%M:%S"
|
||||||
format: "[{asctime}] {name:20.20} {levelname:>7} --- {message}"
|
format: "[{asctime}] {name:30.30} {levelname:>7} --- {message}"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
console:
|
console:
|
||||||
|
|||||||
Reference in New Issue
Block a user