Tripwire Interactive Forums

Go Back   Tripwire Interactive Forums > Red Orchestra 2 / Rising Storm Forums > Technical Support > Dedicated Server Support

Reply
 
Thread Tools Display Modes
  #1  
Old 04-06-2012, 11:22 AM
Floyd Floyd is offline
Senior Member
 
Join Date: Feb 2006
Location: Waterproof
Posts: 3,749
Default Unique log file names with command line parameters

Does anyone know if it is possible to use date parameters in the command line to create unique server log file names? And if so, what the syntax might be..

For example: -log=Serverlog%d
__________________
Reply With Quote
  #2  
Old 04-06-2012, 11:30 AM
Major_Day's Avatar
Major_Day Major_Day is offline
Senior Member
 
Join Date: Feb 2007
Location: Glasgow, Scotland
Posts: 2,548
Default

Not sure what you mean,the logs are already date and time stamped.
__________________
Reply With Quote
  #3  
Old 04-06-2012, 11:42 AM
Floyd Floyd is offline
Senior Member
 
Join Date: Feb 2006
Location: Waterproof
Posts: 3,749
Default

The server is setup to automatically restart upon a crash. When it restarts, it overwrites the log file. That makes it hard to determine which file and and a what point the server crashed.

By creating a unique filename, the log file wouldn't get overwritten.

Perhaps there is a command line switch that I'm unaware of?
__________________
Reply With Quote
  #4  
Old 04-06-2012, 02:27 PM
Major_Day's Avatar
Major_Day Major_Day is offline
Senior Member
 
Join Date: Feb 2007
Location: Glasgow, Scotland
Posts: 2,548
Default

Quote:
Originally Posted by Floyd View Post
The server is setup to automatically restart upon a crash. When it restarts, it overwrites the log file. That makes it hard to determine which file and and a what point the server crashed.

By creating a unique filename, the log file wouldn't get overwritten.

Perhaps there is a command line switch that I'm unaware of?
My log isn't overwritten when the server crashes, a new log is created as well as a .dmp file.,but the old log is still there.

In ROEngine.ini check this section,i have mine set to delete all log files after 3 days,you can change this to whatever suits.:

[LogFiles]
PurgeLogsDays=3
LogTimes=True
__________________

Last edited by Major_Day; 06-07-2012 at 05:38 PM.
Reply With Quote
  #5  
Old 04-06-2012, 03:56 PM
Floyd Floyd is offline
Senior Member
 
Join Date: Feb 2006
Location: Waterproof
Posts: 3,749
Default

Interesting. ROEngine.ini is set up just like yours. The .dmp files are there, but not the backup logfiles.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:15 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2005 - 2013, Tripwire Interactive, LLC