Re: [Resin-interest] What is creating log/jvm-default.log andlog/watchdog-manager.log files

2007-05-31 Thread andy.duplain
Darn - I should really explore all possibilities before posting.  I
downloaded the source in the end and found out what was creating these
logs - the solution is to use the (undocumented?) command line argument
-log-directory when starting resin, and making the logfile name relative
(i.e. resin.log).

Oh well, I hope that might help someone,
Cheers,
Andy 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, May 31, 2007 3:31 PM
To: resin-interest@caucho.com
Subject: [Resin-interest] What is creating log/jvm-default.log
andlog/watchdog-manager.log files

Hi there, I am trying to configure resin 3.1.1 under Solaris 9 to log
every message to /var/resin/log/resin.log, and have these entries in
resin.conf:
 
  log name= level=info path=/var/resin/log/resin.log
timestamp=%d/%m/%y %H:%M:%S.%s /

However I am still seeing these files in the log sub-directory of
resin.home:
 
bash-2.05# ls -l log
total 6
-rw-r--r--   1 www  www  763 May 31 14:21 jvm-default.log
-rw-r--r--   1 www  www 1082 May 31 14:21
watchdog-manager.log

Can someone tell me how to stop these files being created and get their
output going to /var/resin/log (ideally watchdog-manager.log going to a
separate file and the contents of jvm-default.log going to resin.log).
 
Thanks in advance,
Andy


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] What is creating log/jvm-default.log andlog/watchdog-manager.log files

2007-05-31 Thread Matt Pangaro
Andy,
I'm not sure if this still applies in 3.1.x, but in prior versions there 
was a downside to co-opting that core JVM log. If you force that into 
your main console (stderr/out) log, Resin may not be able to roll it any 
more. You can use that arg to put the core jvm log where you want it, 
but you may still want to keep it separate from your main console logs.

Matt Pangaro
Lokitech  software . strategy . design
http://www.lokitech.com
m. 1.301.728.6906
f. 1.815.364.0656
e. [EMAIL PROTECTED]


[EMAIL PROTECTED] wrote:
 Darn - I should really explore all possibilities before posting.  I
 downloaded the source in the end and found out what was creating these
 logs - the solution is to use the (undocumented?) command line argument
 -log-directory when starting resin, and making the logfile name relative
 (i.e. resin.log).
 
 Oh well, I hope that might help someone,
 Cheers,
 Andy 
 



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest