mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-11-01 19:27:59 +00:00
Revert "Adapt logging configuration to newest changes"
This reverts commit 04cffd13c8.
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
This commit is contained in:
@@ -191,9 +191,22 @@ configProperties:
|
|||||||
openwifi.system.uri.ui: https://localhost
|
openwifi.system.uri.ui: https://localhost
|
||||||
openwifi.system.commandchannel: /tmp/app_owsec
|
openwifi.system.commandchannel: /tmp/app_owsec
|
||||||
# Logging
|
# Logging
|
||||||
logging.type: console
|
logging.formatters.f1.class: PatternFormatter
|
||||||
logging.path: $OWSEC_ROOT/logs
|
logging.formatters.f1.pattern: "%Y-%m-%d %H:%M:%S %s: [%p] %t"
|
||||||
logging.level: debug
|
logging.formatters.f1.times: UTC
|
||||||
|
logging.channels.c1.class: ConsoleChannel
|
||||||
|
logging.channels.c1.formatter: f1
|
||||||
|
logging.channels.c2.class: FileChannel
|
||||||
|
logging.channels.c2.path: /tmp/log_owsec
|
||||||
|
logging.channels.c2.formatter.class: PatternFormatter
|
||||||
|
logging.channels.c2.formatter.pattern: "%Y-%m-%d %H:%M:%S %s: [%p] %t"
|
||||||
|
logging.channels.c2.rotation: "20 M"
|
||||||
|
logging.channels.c2.archive: timestamp
|
||||||
|
logging.channels.c2.purgeCount: 20
|
||||||
|
logging.channels.c3.class: ConsoleChannel
|
||||||
|
logging.channels.c3.pattern: "%s: [%p] %t"
|
||||||
|
logging.loggers.root.channel: c1
|
||||||
|
logging.loggers.root.level: debug
|
||||||
|
|
||||||
# -> Secret part
|
# -> Secret part
|
||||||
# REST API
|
# REST API
|
||||||
|
|||||||
@@ -122,6 +122,37 @@ storage.type.mysql.connectiontimeout = 60
|
|||||||
# Logging: please leave as is for now.
|
# Logging: please leave as is for now.
|
||||||
#
|
#
|
||||||
########################################################################
|
########################################################################
|
||||||
logging.type = console
|
logging.formatters.f1.class = PatternFormatter
|
||||||
logging.path = $OWSEC_ROOT/logs
|
logging.formatters.f1.pattern = %Y-%m-%d %H:%M:%S %s: [%p] %t
|
||||||
logging.level = debug
|
logging.formatters.f1.times = UTC
|
||||||
|
logging.channels.c1.class = ConsoleChannel
|
||||||
|
logging.channels.c1.formatter = f1
|
||||||
|
|
||||||
|
# This is where the logs will be written. This path MUST exist
|
||||||
|
logging.channels.c2.class = FileChannel
|
||||||
|
logging.channels.c2.path = $OWSEC_ROOT/logs/log
|
||||||
|
logging.channels.c2.formatter.class = PatternFormatter
|
||||||
|
logging.channels.c2.formatter.pattern = %Y-%m-%d %H:%M:%S %s: [%p] %t
|
||||||
|
logging.channels.c2.rotation = 20 M
|
||||||
|
logging.channels.c2.archive = timestamp
|
||||||
|
logging.channels.c2.purgeCount = 20
|
||||||
|
logging.channels.c3.class = ConsoleChannel
|
||||||
|
logging.channels.c3.pattern = %s: [%p] %t
|
||||||
|
|
||||||
|
# External Channel
|
||||||
|
logging.loggers.root.channel = c1
|
||||||
|
logging.loggers.root.level = debug
|
||||||
|
|
||||||
|
# Inline Channel with PatternFormatter
|
||||||
|
# logging.loggers.l1.name = logger1
|
||||||
|
# logging.loggers.l1.channel.class = ConsoleChannel
|
||||||
|
# logging.loggers.l1.channel.pattern = %s: [%p] %t
|
||||||
|
# logging.loggers.l1.level = information
|
||||||
|
# SplitterChannel
|
||||||
|
# logging.channels.splitter.class = SplitterChannel
|
||||||
|
# logging.channels.splitter.channels = l1,l2
|
||||||
|
# logging.loggers.l2.name = logger2
|
||||||
|
# logging.loggers.l2.channel = splitter
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user