users@glassfish.java.net

Re: Log rotation fails, rotated log is empty

From: <glassfish_at_javadesktop.org>
Date: Thu, 16 Sep 2010 04:17:35 PDT

when you use "asadmin rotate-log" command,
existing server.log will be rotated with server.log_TIMESTAMP
and a new server.log will be available for further logging.

eg:
after rotate-log command, you will see
* server.log_2010-09-16T16-27-35 (content)
and
* server.log (empty)

Command reference :
http://docs.sun.com/app/docs/doc/820-7701/rotate-log-1?l=en&a=view
[Message sent by forum member 'jr158900']

http://forums.java.net/jive/thread.jspa?messageID=482932