Jump to content

Home

Logfile parameters


michadmin

Recommended Posts

The Quake III settings for generating log files are (from the AEstats instructions):

 

- logfile 0 //no logfile

- logfile 1 //buffered

- logfile 2 //continuous

- logfile 3 //append

 

Can anyone explain the differences between these modes (I'm assuming they're the same for JKII)? I intend to parse these logs no more than once a day. What are the server performance impacts on the different modes, if any?

 

Thanks in advance!

 

Jon

MichAdmin

Link to comment
Share on other sites

I'm not 100% sure the difference between 1 and 2, but I believe both of them will generate new logs each time the server is restarted or gametype is changed. 3 will keep adding onto the .log file even with server restarts or game changes.

 

A related question, does anyone know how to change where the .log file is generated? I don't want it to go into my base folder, but rather into my aestats folder so I can parse it there.

Link to comment
Share on other sites

I can say with certainty that g_logfile "2" does not create a new file each time the server is restarted, but rather appends to the existing file. I don't think it's necessary to move the log file. Just create a symlink to it in the folder you want to use. I do that and it saves me the trouble of messing with the log dirs.

Link to comment
Share on other sites

I tried that, but using the command prompt I can't get it to see the log file with all the spaces in the command line, e.g. c://program files/lucas arts/ etc.

 

I tried using _ to fill the gaps, but it was a no go. I'm sure it's something simple, but damned if I can remember how.

Link to comment
Share on other sites

disdainmsh:

 

Need to use the short filenames equivalent to change the that path.

 

IE c:\progra~1\

 

Don't know what the whole path would look like. I forgot the rules with the ~! cancatenation.

Link to comment
Share on other sites

Still can't get it to work ;( I tried the short file names, and it still didn't want to see the directory. I tried moving the AEstats folder into my gamebase directory, and I can get it to work there, but then I can't get a shortcut working so that I can automate it.

 

I'm trying to use

 

"C:\Program Files\LucasArts\Star Wars JK II Jedi Outcast\GameData\base\AEstats.exe" +duel.mlg

 

but it doesn't want to do that. I've tried it without the + as well.

 

Dammit dammit dammit.

 

Thanks for the tips though guys.

Link to comment
Share on other sites

I got it working. I created a shortcut to the aestats.exe in x:/aestats folder. In the shortcut I then told it to start the program in x:/program files/blah blah blah. That works perfectly, although the .html output ends up in the base directory, but I can work around that far easier.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...