From eac38d42129926ca7fe52513d7cc991708683d7d Mon Sep 17 00:00:00 2001 From: catbref Date: Fri, 10 May 2019 19:01:22 +0100 Subject: [PATCH] new log4j2.properties Commit was b8e5641, and commit message was: Change API port to 9888 and P2P port to 9889 + new log4j2.properties --- log4j2.properties | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/log4j2.properties b/log4j2.properties index ce13b641..05bb156a 100644 --- a/log4j2.properties +++ b/log4j2.properties @@ -1,7 +1,7 @@ rootLogger.level = info -# On Windows, this might be rewritten as: -# property.filename = ${sys:user.home}\\AppData\\Roaming\\Qora\\log.txt -property.filename = log.txt +# On Windows, uncomment this: +# property.dirname = ${sys:user.home}\\AppData\\Roaming\\MCF\\ +property.filename = ${sys:log4j2.filenameTemplate:-log.txt} rootLogger.appenderRef.console.ref = stdout rootLogger.appenderRef.rolling.ref = FILE @@ -51,7 +51,7 @@ appender.rolling.type = RollingFile appender.rolling.name = FILE appender.rolling.layout.type = PatternLayout 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.size = 4MB # Set the immediate flush to true (default)