Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 4 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Soldier of Fortune
Category: SoFII Server Support
Server administration questions, comments and chat.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: How to disable QCONSOLE log?
Gibbed~rb
General Member
Since: Dec 23, 2006
Posts: 158
Last: Dec 23, 2006
[view latest posts]
Level 4
Category: SoFII Server Support
Posted: Saturday, Jun. 19, 2004 11:18 pm
Was just informed by our gaming host that only ONE log is allowed and if we cannot disable the qconsole log we cannot have the stats log.

Is there a way to disable qconsole logging and leave ON the other logging for stats??

Thanks
Share |
RevBubba~rb
General Member
Since: Dec 23, 2006
Posts: 68
Last: Dec 23, 2006
[view latest posts]
Level 3
Category: SoFII Server Support
Posted: Sunday, Jun. 20, 2004 02:40 am
Yes, assuming you are talking about the "qconsole.log", compared to the "sof2games.log"  (DEFAULT FILENAMES.)

open your sof2mp.cfg and search for the line,
seta logfilename "qconsole.log"

delete it.

Then add the following line, if it is not already there:
seta g_log "sof2games.log" (or whatever filename you want)

Now, repeat this process for ANY AND ALL .cfg files on the server which contain the 'seta logfilename "qconsole.log"' line.  (This step avoids .cfg file conflicts, which could make the initial change ineffective.)

I recommend SHUTTING DOWN THE SERVER while making these changes, then restarting it when the changes are complete.  

Be aware that I have found sometimes the change does not "take" the first time, when I restart the server the .cfgs return to their original unedited state.  When this happens, I shut down the server again, re-edit the .cfgs, and restart server - I don't know why, but this always works for me by the 2nd attempt.

PS: Are you the "Gibbed" who runs HEADS GONNA ROLL?  If not, just ignore me.  If so, thanks for the countless hours I've spent on your server over the last 2 yrs or so - great work you guys are doing over there.  Best lograv DM server out there, in my opinion.

PPS:  A provider who limits the # of logs?!?  WHY?!?  I don't understand what their motivation is to limit you in this way; log generation of this kind really shouldn't cause any probs for them, as far as I know...  seems like a LAME move on their part, maybe I shouldn't ask who the provider is.
Share |
RevBubba~rb
General Member
Since: Dec 23, 2006
Posts: 68
Last: Dec 23, 2006
[view latest posts]
Level 3
Category: SoFII Server Support
Posted: Sunday, Jun. 20, 2004 08:23 am
Aah, I just clicked on your profile and saw that you ARE in fact the Gibbed who runs HeadsGonnaRoll.

Perhaps your provider has a problem with the 2 logs because they probably get pretty huge, considering how popular your server is...  I have recently learned myself firsthand just how big these logs can get, especially if hitlogging (logging killshot victim body locations) is enabled, on the very popular servers - I recently signed up an affiliate server which draws about 1500 unique players every 3 weeks or so, and they generate BIG logs VERY FAST (100+mb logs within 24-48 hours!).

Here's what I finally did about this in their case, in order to keep the logs smaller on the gameserver (this worked for us because we have a webserver which is SEPARATE and REMOTE from our gameserver, with LOTS more storage space at the webserver).

I switched from SoF2Logger to UltraStats, and I set up an auto-log-upload every 4 hrs from the gameserver to the webserver, combined with an auto-update to the stats page at that time.  Took a few hours to set up and configure, thanks to the docs and great forum UltraStats has.  Plus, it's a GREAT stats engine.  (Requires php, mysql for webserver, very basic usage though, so it is easy for a beginner to implement and customize - and there are user-created php-nuke blocks - "Top 10 Players" and "MiniStats" (Live Server Status) - available at their forums.)

If curious or interested, click here to see one of my server's UltraStats pages:
http://www.fragoholics.net/ultrastats3/web/index.php

I would be glad to help you in any capacity within my abilities on this - obviously, you could just ditch the qconsole.log and be done with it, but personally - I'd keep both logs if at all possible.  If you think I could help any further on this, feel free to email me at reverendbubba@fragoholics.net - and again, keep up the great work over there at HeadsGonnaRoll.
Share |
garskoci~rb
General Member
Since: Dec 23, 2006
Posts: 174
Last: Dec 23, 2006
[view latest posts]
Level 4
Category: SoFII Server Support
Posted: Sunday, Jun. 20, 2004 03:58 pm
FYI

RevBubba, you say that sometimes that changes don't take on the first time through. Just delete the sof2mp.cfg file. This is a SOF generated file when the game server is fired up. Why it doesn't get over written when the SOF server is stared is anyone's guess. I added a line in my start-up script to delete it. So, no matter what changes I make, I know that I get a new config file.
Share |
Gibbed~rb
General Member
Since: Dec 23, 2006
Posts: 158
Last: Dec 23, 2006
[view latest posts]
Level 4
Category: SoFII Server Support
Posted: Sunday, Jun. 20, 2004 07:11 pm
Quote (RevBubba @ June 19 2004, 10:40 pm)
Yes, assuming you are talking about the "qconsole.log", compared to the "sof2games.log"  (DEFAULT FILENAMES.)

open your sof2mp.cfg and search for the line,
seta logfilename "qconsole.log"

delete it.

Then add the following line, if it is not already there:
seta g_log "sof2games.log" (or whatever filename you want)

Now, repeat this process for ANY AND ALL .cfg files on the server which contain the 'seta logfilename "qconsole.log"' line.  (This step avoids .cfg file conflicts, which could make the initial change ineffective.)

I recommend SHUTTING DOWN THE SERVER while making these changes, then restarting it when the changes are complete.  

Be aware that I have found sometimes the change does not "take" the first time, when I restart the server the .cfgs return to their original unedited state.  When this happens, I shut down the server again, re-edit the .cfgs, and restart server - I don't know why, but this always works for me by the 2nd attempt.

PS: Are you the "Gibbed" who runs HEADS GONNA ROLL?  If not, just ignore me.  If so, thanks for the countless hours I've spent on your server over the last 2 yrs or so - great work you guys are doing over there.  Best lograv DM server out there, in my opinion.

PPS:  A provider who limits the # of logs?!?  WHY?!?  I don't understand what their motivation is to limit you in this way; log generation of this kind really shouldn't cause any probs for them, as far as I know...  seems like a LAME move on their part, maybe I shouldn't ask who the provider is.

Hey thanks!!

Glad to hear you enjoy our server! Compliments from players that far back are always well received!  :D

Thanks for the log info as well! Alot of things are up in the air right now, I'll let you know how it falls out.

Stop in and play sometime!

http://www.HeadsGonnaRoll.com
Share |
RevBubba~rb
General Member
Since: Dec 23, 2006
Posts: 68
Last: Dec 23, 2006
[view latest posts]
Level 3
Category: SoFII Server Support
Posted: Sunday, Jun. 20, 2004 07:31 pm
garskoci-

WOW!  Great tip!  THANK YOU for clueing me into this!  I'm not quite sure how I missed that, but now I know.  It all makes sense now. hehe

Thanks again.

That is why we have such a great community here; those with the education are willing to share what they know.  My hat is off to all of you who post productively here.  I do so simply because I have gained an IMMENSE amount of server knowledge from this very forum, and I feel that this is how I can give back to the community which helped me.  So, keep on askin' - If I personally have even a clue as to your answer, I'll always share it.  My thanks to this community for being so supportive.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Soldier of Fortune : SoFII Server Support

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»