Common logfile - multiple servers under Windows

bara.cz

Junior Member
Joined
Mar 5, 2005
Likes
0
#1
Hi all,
I am admin of multiple mohaa gameservers under Windows. Our hosting company has special set-up. All servers (10) make 1 common logfile cause they run from one dir and have generated config.
I will be thankful for advice how to split this logfile and redirect logs for single gameservers.

Did anybody solve similar situation? Could you be so kind and help?

Thank you very much in advance.
Yours, bara.cz

P.S. Please, excuse me my bad English, hope it was comprehensible.
 
Last edited:

GaSplat

Administrator
Joined
Sep 22, 2003
Likes
2
Location
St Louis
#2
Unfotunately, I think the game does not allow you to name the log file. The variable that looks like it would let you do that does not work that way - at least for Win. The linux version may be better for that.

Do a cvarlist *log* to see what variables the game has for logging. You may be able to set g_log or g_logfile to a file name in your startup script - but I am not certain this works. Last I remember it always saves it as qconsole.log (or something to that effect).
 

bara.cz

Junior Member
Joined
Mar 5, 2005
Likes
0
#3
Thak you for fast replay.
Exactly, mohaa ignores +set g_log. And you are right, mohaa is creating qgonsole.log.
I am afraid that when I let Server Watch access to the one common logfile for 10 servers it would become crazy and not function right way :(
Unfortunately our hosting company will not change OS cause of mohaa.
 

GaSplat

Administrator
Joined
Sep 22, 2003
Likes
2
Location
St Louis
#4
They don't have to change the OS. They just have to not be so cheap with the disk space. If you copy the entire MOHAA directory (and subdirectories) you can start each copy separately. Each one will write its own log file in its own directory. This has the added benefit of allowing you to add a mod file to one directory withotu affecting the others. Also, everyone can use their own startup config (since they are probably using just one for everyone right now). Tell them to stop being such capitalist cheap skates! A full copy of the directory - with AA, spearhead, and Breakthrough, uses under 2.6 GB. A 40GB hard drive is nothing, and you could easily allocate 3GB to each directory with 10GB to spare for the OS and general free space. Since a machine running ten servers isn't going to be useful for anything else, they should use that drive space so you guys can get the full value from your server. :)
 

bara.cz

Junior Member
Joined
Mar 5, 2005
Likes
0
#5
Yeah, U R right, although server admin told me yesterday that it seems to be one and only solution but there is no space on disk for it...
As I see the situation I have just to wait the disk space grow up :((
Maybe I would be lucky and our 3 weeks spent by getting SW running properly will reach some effect...
Thanks a lot for your time and effort.
 
Top Bottom