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:
java logfile rotate
java logging syslog
java file rotation
rotating log file using java program
simple java logger syslog
creating log java program
java code rotate log file for
how rotate java
java logaritmus program
java log rotation
java program security event log
java rotating log
avoid log rotation java
rotating log files java
java tool log rotation for
rotation java
log rotation java
java log file rotation
rotate log java the
java log rotate
Information Security News
|
Jerry Bell's blog
|
Enterprise IT
|
Tropical Fish Information
|
Tropical Fish Forums
Loading...