Logging, Syslog and Log Anaylsys Forums
»
Forums
»
Syslog & syslogd
log rotation for java program log
Username:
1 Hour
1 Day
1 Week
1 Month
Forever
Password:
Home
Help
Search
Quick Search
Advanced Search
Login
Register
News
:
« previous
next »
Pages: [
1
]
0 Members and 1 Guest are viewing this topic.
Topic Tools
Topic Tools
Print
October 29, 2008, 01:42:10 am
#0
sixty_nine
sixty_nine
Send sixty_nine an email.
Show sixty_nine's last posts.
Show general stats for sixty_nine.
Newbie
Posts: 2
log rotation for java program log
When we use logadm to rotate a log file, we restart the syslog by using kill -HUP 'cat /var/run/syslog'. But I want to rotate a log file which is written by a java program (gigaspaces). How can I use logadm to rotate log file produced by gigaspaces or other java program? is there any other log rotation utility for it?
Thanks
November 05, 2008, 04:15:17 am
#1
rgerhards
rgerhards
Visit rgerhards's website.
Show rgerhards's last posts.
Show general stats for rgerhards.
Newbie
Posts: 176
Re: log rotation for java program log
I don't know the java program, but the key point is that the writer must close the file. So I would check if the java program has a method (signal) that makes it close its files. If that does not exist, I guess there is no other way than to restart the program.
HTH
Rainer
syslog blog
-
event log to syslog
-
WinSyslog
-
rsyslog
Pages: [
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Forums
-----------------------------
=> Syslog & syslogd
===> syslog-ng
=> Log Data and Analysis
=> Windows Event Log
=> Web Server Logs
=> Security
=> General Discussion
=> Red Light District
=> Logs, Sarbanes Oxley and Compliance
GoogleTagged:
log rotation java
java code rotate log file for
java tool log rotation for
log rotator
java logging syslog
java program security event log
rotating log files java
how rotate java
java file rotation
java program logging
rotation java
rotate log file java the
java rotate log utility
creating log java program
202 157 165
java log file rotation
java rotation
java rotate
rotating log file using java program
rotate java programm
Information Security News
|
Jerry Bell's blog
|
Enterprise IT
|
Tropical Fish Information
|
Tropical Fish Forums
Loading...