[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Where are the Server Logs?  XML
Forum Index -> Development
Author Message
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5082
Offline

(from mail conversation)

Something does not really work - so logs are some useful way to get more information about what happens (or does not happen).

1. CaptainCasa logs quite a lot information using Java logging. The location of log files and some overview information can be found here:

http://captaincasa.org/where-are-the-logs

The best way to define the logging-configuration (logging.xml) for development purposes is:

Code:
 <logging level="INFO" console="true">
      <loglevelmissingpropertyget level="INFO" stacktrace="true"/>
 </logging>
 


This means: logs are generally output to the console (== Tomcat console window) so you do not have to follow files. And: if there are problems with the getting of expressions then the problem + stack trace is output.

For development purposes this is too much output, of course...

2. Tomcat logs are contained in tomcat/logs/*.log

If your project's webapp does not start at all in Tomcat (output "SEVERE" or "SCHWERWIEGEND"...) then check in the Tomcat logs.


FYI: CaptainCasa logging can be configured to delegate its content via some interface and via SLF4J-bridge so that it can be integrated into your logging infrastructure, if required! ;-)

Björn Müller, CaptainCasa GmbH
heyl

Power User

Joined: 10/01/2008 09:41:55
Messages: 250
Location: Ettlingen
Offline

Hi everyone,

I managed to reduce serverside logging in the work/catalina folder by setting
Code:
<logging level="SEVERE"
          console="false"
          outputclassmethod="false">
 </logging>

in the logging.xml.

Is there also a way to reduce or switch off the performance logging?

thanks and best regards
Frauke
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5082
Offline

Hi Frauke,

...no! This is by intention: in many cases the performance logs were/are the only way to approve/check what was roughly going on in the system after e.g. some system crash. The amount of data which is written is low.

Regards, Björn

Björn Müller, CaptainCasa GmbH
heyl

Power User

Joined: 10/01/2008 09:41:55
Messages: 250
Location: Ettlingen
Offline

Hi Björn,

thanks!
Frauke
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team