OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
Search
Recent Topics
Member Listing
Back to home page
Register
/
Login
directory option in logging.xml
Forum Index
->
Development
Author
Message
09/02/2009 20:53:59
Subject:
directory option in logging.xml
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
10/02/2009 06:22:58
Subject:
Re:directory option in logging.xml
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
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
11/02/2009 15:10:01
Subject:
Re:directory option in logging.xml
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
11/02/2009 15:27:21
Subject:
Re:directory option in logging.xml
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
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:
Select a forum
CaptainCasa Enterprise Client
-------------
Development
Deployment
Product
Community
Development - Code Snippets
CaptainCasa Structured Data Manager - CC-SDM
-------------
All Issues
Powered by
JForum 2.1.6
©
JForum Team