WAR server memory log

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

WAR server memory log

Postby Ruben79 » Thu Dec 06, 2012 5:04 pm

We have currently a webclient solution running on a JBOSS server. Now we would like some logging on that solution because some things are not working as expected.

On the servoy admin Server log page, there is a message this is turned off.

In memory log disabled; to enable add the following lines to the servoy.properties file:
log4j.appender.configservlet=com.servoy.j2db.util.SlidingWindowAppender
log4j.appender.configservlet.layout=com.servoy.j2db.util.Log4JHTMLTableLayout
log4j.appender.configservlet.layout.dateTimeFormat=yyyy-MM-dd HH:mm
log4j.appender.configservlet.threshold=INFO
log4j.appender.configservlet.windowSize=1000

No problem there but I don't know what to do with the following:
Also add the configservlet appender to the root category:

log4j.rootCategory=INFO, file, configservlet

What is this mysterious 'root category' and where can I find it?
Ruben de Jong
Stb Software Development
SAN Partner

Stb Software Development - http://www.stb.nl
User avatar
Ruben79
 
Posts: 97
Joined: Wed Apr 18, 2007 12:43 pm

Re: WAR server memory log

Postby jcompagner » Fri Jan 11, 2013 11:22 am

the rootCategory is the thing that's the default log level, that's something that Log4j has by default. Where everything goes to

The thing is if you are in a WAR setup then logging could be also controlled by the container..
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 12 guests