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 17:38:00 UTC

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

     [ https://issues.apache.org/jira/browse/JSPWIKI-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juan Pablo Santos Rodríguez resolved JSPWIKI-1168.
--------------------------------------------------
    Resolution: Fixed

done in 2.11.2-git-01.

> 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
>            Priority: Major
>             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)