Juan Pablo Santos RodrÃguez created JSPWIKI-1168:
----------------------------------------------------
Summary: Simplify required configuration to log on file
Key: JSPWIKI-1168
URL: https://issues.apache.org/jira/browse/JSPWIKI-1168
Project: JSPWiki
Issue Type: Improvement
Reporter: Juan Pablo Santos RodrÃguez
Fix For: 2.11.2
As noted on the ML, to setup file logging, it is required to add a big bunch of
properties to the jspwiki-custom.properties file.
In order to simplify this, let's add a rolling file appender, initially unused
and with some sensible defaults, so that, in order to begin to log to a file,
it would only be needed to reference it on the jspwiki-custom.properties file
({{rootLogger.appenderRef.rolling.ref = RollingFile}}). If needed, the
properties of this appender can be replaced on the jspwiki-custom.properties
file, so, f.ex., change the file location would only need to overwrite a couple
of properties.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)