You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/12/31 16:06:00 UTC

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

    [ https://issues.apache.org/jira/browse/JSPWIKI-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17467280#comment-17467280 ] 

ASF subversion and git services commented on JSPWIKI-1168:
----------------------------------------------------------

Commit 9e308da80e389ebcc7e1ba5d795e2c8b9dd33f85 in jspwiki's branch refs/heads/master from Juan Pablo Santos Rodríguez
[ https://gitbox.apache.org/repos/asf?p=jspwiki.git;h=9e308da ]

JSPWIKI-1168: Simplify required configuration to log on file


> 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)