users@glassfish.java.net

Re: Glassfish 3.1 as a windows 7 service creates unmanaged ...

From: <forums_at_java.net>
Date: Wed, 18 May 2011 14:57:55 -0500 (CDT)

Yes.  We use winsw [1] for the low-level WIndows Service implementation. 
If you look here [2] you can see how the xml file in that directory is
configured.

The default is to append to the file forever.  You can also have it reset
the files after every start by adding this line, [3], to the xml file.

Setting the logging mode to roll will automatically rename the lo

[1] http://kenai.com/projects/winsw/
[2] http://kenai.com/projects/winsw/pages/ConfigurationSyntax

[3] <logmode>reset</logmode> [4] <logmode>roll</logmode>
[5]<logpath>c:\some\dir</logpath>
 


--
[Message sent by forum member 'bnevins']
View Post: http://forums.java.net/node/803324