Log Rotation
Log Rotation
maybe a cron to rotate logs of gameserver on a scheduled server restart
-
- Site Admin
- Posts: 3617
- Joined: Thu Apr 20, 2006 2:54 pm
- Location: America's Heartland
- Contact:
Re: Log Rotation
If you're running a game server that allows you to specifiy the name of the logfile, you can use the %Date%%Time% variables, and the panel will replace those variables with the current date and time giving a unique log file each time.
If there's no functionality to specify a log file name, you can use the option that runs a program before starting the server to move the log file to a new name.
If there's no functionality to specify a log file name, you can use the option that runs a program before starting the server to move the log file to a new name.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!