[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
directory option in logging.xml  XML
Forum Index -> Development
Author Message
levy

Power User

Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline

Hi,

I want to set the directory option in logging.xml. I have tried out several directory values, including the example value c:/logs/EnterpriseClient/.

But the logfile is always written in the default work directory.

Any hints?

Kind regards,
Daniel
[WWW]
CaptainCasa

Power User
[Avatar]

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

...hmm? Maybe you forgot to publish the project so that logging.xml has not arrived yet in the Tomcat?

Björn

Björn Müller, CaptainCasa GmbH
levy

Power User

Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline

Even worse, there was a narrow blank in the file name before .xml, so the file wasn't recognized! Sorry for inconvenience.

Just a question, is it right that directory attribute value must be an absolute path? Something like "../logs/" won't work?

Regards
Daniel
[WWW]
CaptainCasa

Power User
[Avatar]

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

..if you use a relative one then the path is dependent from the start directory of the Java VM. In Tomcat case this is /tomcat/bin (or where you start Tocmat from).

Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team