在restlet服务器中,应用程序日志正确写入文件,用于创建访问日志文件,但日志未存储在该文件中。
My logging.properties file:
handlers=java.util.logging.FileHandler,org.restlet.engine.log.AccessLogFileHandler
.level=WARNING
org.restlet.level=ALL
java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter
java.util.logging.FileHandler.limit=10000000
java.util.logging.FileHandler.count=100
java.util.logging.FileHandler.pattern=/logs/serverout-%u-%g.log
org.restlet.engine.log.AccessLogFileHandler.formatter=org.restlet.engine.log.DefaultAccessLogFormatter
org.restlet.engine.log.AccessLogFileHandler.limit=10000000
org.restlet.engine.log.AccessLogFileHandler.count=100
org.restlet.engine.log.AccessLogFileHandler.pattern=/logs/access-%u-%g.log
Any suggestions?