On Mon, Nov 15, 2004 at 03:39:01PM -0600, Filip Hanik - Dev wrote:
> this was not the case when using a java.io.FileOutputStream(), so I assume
> you tried and verified this :)
You are confused. It _is_ the case with FileOutputStream. The only
way it could be otherwise is if the output
I don't remember. I think logrotate recreates it anyway.
-Original Message-
From: Carlos Oliva [mailto:[EMAIL PROTECTED]
Sent: November 15, 2004 4:55 PM
To: 'Tomcat Users List'
Subject: RE: Rotating catalina.out with Webmin
Hi Phillip,
Why do you re-create the file? I
Hi Phillip,
Why do you re-create the file? Is it not enough to truncate it?
-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED]
Sent: Monday, November 15, 2004 3:53 PM
To: 'Tomcat Users List'
Subject: RE: Rotating catalina.out with Webmin
I don't know how to
ent: Monday, November 15, 2004 3:16 PM
Subject: Re: Rotating catalina.out with Webmin
On Mon, Nov 15, 2004 at 02:36:57PM -0600, Filip Hanik - Dev wrote:
> nope, the moment you execute the mv the file handle has moved. switch to
> cronolog to save you some time,
> cronolog might recreate
to the list :)
>
[...snip...]
> if you dont get webmin fixed, I recommend cronolog instead.
> You cant just rotate it, cause then tomcat loses the file handle, and you
> will lose all further output.
This is incorrect. A reference to an open file stays perfectly valid
regardles
404nl
}
-Original Message-
From: Carlos Oliva [mailto:[EMAIL PROTECTED]
Sent: November 15, 2004 3:37 PM
To: 'Tomcat Users List'
Subject: RE: Rotating catalina.out with Webmin
Hi Phillip,
Since Webmin uses logrotate could I just create a simple entry with Webmin?
Or do I need to specify
Hi Phillip,
Since Webmin uses logrotate could I just create a simple entry with Webmin?
Or do I need to specify other settings?
-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED]
Sent: Monday, November 15, 2004 3:31 PM
To: 'Tomcat Users List'
Subject: RE
t; <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Monday, November 15, 2004 2:28 PM
Subject: RE: Rotating catalina.out with Webmin
Hi Filip,
I set-up the Webmin Log Rotation entry to the following:
1) Re-create log file after rotation? Yes, with mode
I found that logrotate is the easiest.
-Original Message-
From: Carlos Oliva [mailto:[EMAIL PROTECTED]
Sent: November 15, 2004 3:28 PM
To: 'Tomcat Users List'
Subject: RE: Rotating catalina.out with Webmin
Hi Filip,
I set-up the Webmin Log Rotation entry to the following:
1)
Hi Filip,
I set-up the Webmin Log Rotation entry to the following:
1) Re-create log file after rotation? Yes, with mode and owned by user
and group
2) Store old rotated logs in Directory
Same directory as log file
Default (Same directory as log file)
3) Extension for rotated filenames
ated for you.
(Note this all applies to Tomcat 5.0.x and older, not to 5.5 and newer)
Yoav Shapira http://www.yoavshapira.com
>-Original Message-
>From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
>Sent: Monday, November 15, 2004 3:19 PM
>To: Tomcat Users List
>Subject: Re
if you dont get webmin fixed, I recommend cronolog instead.
You cant just rotate it, cause then tomcat loses the file handle, and you will
lose all further output.
with cronolog you simply pipe it through cronolog like this
| /usr/local/sbin/cronolog
"$CATALINA_BASE$"/
Hi Forum,
Could someone recommend settings for using the log rotation of Webmin in
order to rotate catalina.out (any cautionary measures)? I just created an
entry in Webmin to rotate the catalina.out file weekly with all the default
settings (keeping the last four copies). Are there any
Does anyone have any experience using the webmin
tomcat module w/ tomcat4.x? Does it work at all?
=
[EMAIL PROTECTED]
Hacking is a "Good Thing!"
See http://www.tuxedo.org/~esr/faqs/hacker-howto.html
__
Do You Yahoo!?
Yahoo! Health -
14 matches
Mail list logo