mirror of
https://github.com/Qortal/qortal.git
synced 2025-03-26 23:44:34 +00:00
new log4j2.properties
Commit was b8e5641, and commit message was: Change API port to 9888 and P2P port to 9889 + new log4j2.properties
This commit is contained in:
parent
675596ed6e
commit
eac38d4212
@ -1,7 +1,7 @@
|
|||||||
rootLogger.level = info
|
rootLogger.level = info
|
||||||
# On Windows, this might be rewritten as:
|
# On Windows, uncomment this:
|
||||||
# property.filename = ${sys:user.home}\\AppData\\Roaming\\Qora\\log.txt
|
# property.dirname = ${sys:user.home}\\AppData\\Roaming\\MCF\\
|
||||||
property.filename = log.txt
|
property.filename = ${sys:log4j2.filenameTemplate:-log.txt}
|
||||||
|
|
||||||
rootLogger.appenderRef.console.ref = stdout
|
rootLogger.appenderRef.console.ref = stdout
|
||||||
rootLogger.appenderRef.rolling.ref = FILE
|
rootLogger.appenderRef.rolling.ref = FILE
|
||||||
@ -51,7 +51,7 @@ appender.rolling.type = RollingFile
|
|||||||
appender.rolling.name = FILE
|
appender.rolling.name = FILE
|
||||||
appender.rolling.layout.type = PatternLayout
|
appender.rolling.layout.type = PatternLayout
|
||||||
appender.rolling.layout.pattern = %d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
|
appender.rolling.layout.pattern = %d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
|
||||||
appender.rolling.filePattern = ${filename}.%i
|
appender.rolling.filePattern = ${dirname:-}${filename}.%i
|
||||||
appender.rolling.policy.type = SizeBasedTriggeringPolicy
|
appender.rolling.policy.type = SizeBasedTriggeringPolicy
|
||||||
appender.rolling.policy.size = 4MB
|
appender.rolling.policy.size = 4MB
|
||||||
# Set the immediate flush to true (default)
|
# Set the immediate flush to true (default)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user