Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-1168

Simplify required configuration to log on file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.11.2
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            juanpablo Juan Pablo Santos Rodríguez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: