Ah so!  I didn't realise that the Log4j config stuff was in the .war file.
I'll probably set it all to WARN then.

On 2 October 2016 at 13:13, Harry Metske <harry.met...@gmail.com> wrote:

> this message pops up each time JSPWiki tries to read its properties. If you
> have not defined a Java system property or servletcontext init parameter
> with the name jspwiki.custom.config (most people don't), then this message
> pops up on loglevel INFO.
> To change the logging level there are several options, see
> https://jspwiki-wiki.apache.org/Wiki.jsp?page=Configuration#section-
> Configuration-LogConfiguration
> .
> In your case the easiest way is to change/add lines to your existing
> jspwiki-custom.properties that reduce the logging level for some loggers,
> for example:
>
> log4j.logger.org.apache.wiki.util.PropertyReader=*warn*,FileLog
> log4j.additivity.org.apache.wiki.util.PropertyReader=false
>
> This will only change the loglevel of the PropertyReader.
>
> regards,
> Harry
>
>
>
> On 1 October 2016 at 20:32, Paul Uszak <paul.us...@gmail.com> wrote:
>
> > I repetitively get a "No jspwiki.custom.config defined for this context"
> in
> > my jspwiki.log file.  A line goes in every few minutes, leading to huge
> log
> > file.
> >
> > Do I need one of these?  My wiki works fine without it.  I have a
> > " jspwiki-custom.properties" under tomcat7/webapps/wiki/WEB-INF/classes
> > instead.  Also, is there a way to change the logging level from INFO to
> > WARN?
> >
> > The neatness freak in me is taking over and I'm trying to resolve this.
> > Google searching proved unfruitful, and I haven't figured out a way to
> > search the mailing list.  I have wiki v2.10.1 running on Tomcat 7.
> >
> > Thanks in advance.
> >
>

Reply via email to