You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Juan Pablo Santos Rodríguez (Jira)" <ji...@apache.org> on 2021/12/31 15:52:00 UTC

[jira] [Created] (JSPWIKI-1168) Simplify required configuration to log on file

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)