我已经创建了日志文件,但是每次重新启动程序时,现有的日志文件都会被覆盖。如何保留旧日志并更新日志文件
这是我的属性文件:
org.slf4j.simpleLogger.logFile= /opt/mymap.log
rg.slf4j.simpleLogger.cacheOutputStream = true
org.slf4j.simpleLogger.defaultLogLevel = trace
org.slf4j.simpleLogger.showDateTime = true
org.slf4j.simpleLogger.dateTimeFormat = yyyy'/'MM'/'dd' 'HH':'mm':'ss'-'S
org.slf4j.simpleLogger.showThreadName = true
org.slf4j.simpleLogger.showLogName = true
org.slf4j.simpleLogger.showShortLogName= false
org.slf4j.simpleLogger.levelInBrackets = true