FAQ
- Hook
- Posts: 3444
- Joined: Fri Feb 16, 2007 9:41 am
- NoMoreSpam: Silver
- Location: Minnesota USA (Just West of MPLS - by a pond beneath a tree - Dead & Buried)
- Contact:
Re: FAQ
Well *POTS*, that work-around that Reiyel gave you for OldSkool Amp'd (no music) is more of a "Little" or "Lesser" Known solution, so it could very well go in this thread quite nicely, don't you think?
I mean, most people just use the menu, but Reiyel found another way to do it.
I mean, most people just use the menu, but Reiyel found another way to do it.
=Hook= of Hook's UT Place - Hopelessly Addicted to UT99!
Forum: https://hooksutplace.freeforums.net
CROSSBONES Missile Madness {CMM} (GT Top 50)
PRO-Redeemer | PRO-SNIPER-Redeemer | SEEKER-Redeemer
Birth Place of ALL Seeker/Scoped Deemers!
IP: NEW IP to come!
CROSSBONES Monster Hunt {CMH} (Special Edition MH by mars007)
IP: 108.61.238.93:7777
Forum: https://hooksutplace.freeforums.net
CROSSBONES Missile Madness {CMM} (GT Top 50)
PRO-Redeemer | PRO-SNIPER-Redeemer | SEEKER-Redeemer
Birth Place of ALL Seeker/Scoped Deemers!
IP: NEW IP to come!
CROSSBONES Monster Hunt {CMH} (Special Edition MH by mars007)
IP: 108.61.238.93:7777
- ShadowOfDeath
- Posts: 166
- Joined: Mon Jul 09, 2007 5:16 pm
- NoMoreSpam: Silver
- Location: Houston, Tx.
- Contact:
- *POTS*
- Posts: 2233
- Joined: Fri Oct 17, 2008 8:50 pm
Re: FAQ
How to Get Rid of NGStats Server Logs
This is mostly addressed to Nexgen users, but it can be useful also for all UT admins.
Yesterday I noticed my newer Nexgen logs could not be found in the Logs folder any more, so at first I thought it was something wrong with Nexgen itself, but the settings were all fine.
It turned out the problem was my folder had way too many old logs stored, both Nexgen logs and UTstats logs (the last ones alone were more than 2,200 files!)
Now there are a few things you should know to prevent this from happening:
1 - Even if you disable the NGstags WorldLogs, the server by default will keep on saving the Local Logs. You can not turn them off via WebAdmin, the only way is to manually edit all server INIs (UnrealTournament.ini, MonsterHunt.ini and MonsterHunt2v1.ini in my case).
Under the [Engine.GameInfo] section, look for this entry:
bLocalLog=True
and set it to False for all of your INIs
The NGstats system is dead a long while ago, and the local logs are quite useless (they cause lag and may make the server unstable), so it's safe to turn them off.
2 - Delete all UnrealNGstats logs from your Logs folder, but not all of them at once if you're using FTP access, otherwise your connection will fail due to a timeout (delete no more than 200 files at the same time to stay safe);
3 - Every time you force a server restart or your server crashes, Nexgen will produce some incomplete logs with a TMP extension, feel free to delete those as well;
4 - Copy all the remaining Nexgen logs to your local HDD and then delete them from the server;
5 - Do this log-purging process at least once a week (it depends on the traffic your server is getting).
6 - Have fun with server adminning, every day something new that needs to be fixed.
This is mostly addressed to Nexgen users, but it can be useful also for all UT admins.
Yesterday I noticed my newer Nexgen logs could not be found in the Logs folder any more, so at first I thought it was something wrong with Nexgen itself, but the settings were all fine.
It turned out the problem was my folder had way too many old logs stored, both Nexgen logs and UTstats logs (the last ones alone were more than 2,200 files!)
Now there are a few things you should know to prevent this from happening:
1 - Even if you disable the NGstags WorldLogs, the server by default will keep on saving the Local Logs. You can not turn them off via WebAdmin, the only way is to manually edit all server INIs (UnrealTournament.ini, MonsterHunt.ini and MonsterHunt2v1.ini in my case).
Under the [Engine.GameInfo] section, look for this entry:
bLocalLog=True
and set it to False for all of your INIs
The NGstats system is dead a long while ago, and the local logs are quite useless (they cause lag and may make the server unstable), so it's safe to turn them off.
2 - Delete all UnrealNGstats logs from your Logs folder, but not all of them at once if you're using FTP access, otherwise your connection will fail due to a timeout (delete no more than 200 files at the same time to stay safe);
3 - Every time you force a server restart or your server crashes, Nexgen will produce some incomplete logs with a TMP extension, feel free to delete those as well;
4 - Copy all the remaining Nexgen logs to your local HDD and then delete them from the server;
5 - Do this log-purging process at least once a week (it depends on the traffic your server is getting).
6 - Have fun with server adminning, every day something new that needs to be fixed.
Plain Old Telephone Service
- Hermskii
- Site Admin
- Posts: 8514
- Joined: Sun Jul 10, 2005 9:56 pm
- NoMoreSpam: Silver
- Location: Houston, Texas
- Contact:
Re: FAQ
I went through hell stopping those logs on my servers years ago. Why do they make it so hard to stop them? I hope I put how I did it in my manual. If not, I'll be copying this into it. Peace!
~Peace~
Hermskii
Hermskii
- *POTS*
- Posts: 2233
- Joined: Fri Oct 17, 2008 8:50 pm
Re: FAQ
Microsoft inheritance I guess.Hermskii wrote:Why do they make it so hard to stop them?
I also have to post a fix for the "port switching" issue; you know when your server is still up and running fine but it doesn't appear alive in your UT browser. I'm sure Hook already posted a thread about that somewhere on his forum.
Plain Old Telephone Service
- Hermskii
- Site Admin
- Posts: 8514
- Joined: Sun Jul 10, 2005 9:56 pm
- NoMoreSpam: Silver
- Location: Houston, Texas
- Contact:
Re: FAQ
Yeah but I never had an issue with that until I ran a UT2003 server and a UT2004 server. Never any port switching issues with plain UT. Have you had issues? If so, I can tell you the simple fix.
~Peace~
Hermskii
Hermskii
- Hook
- Posts: 3444
- Joined: Fri Feb 16, 2007 9:41 am
- NoMoreSpam: Silver
- Location: Minnesota USA (Just West of MPLS - by a pond beneath a tree - Dead & Buried)
- Contact:
Re: FAQ
Yeah, I got it posted over at HUTP somewhere!!!*POTS* wrote:I also have to post a fix for the "port switching" issue; you know when your server is still up and running fine but it doesn't appear alive in your UT browser.
I'm sure Hook already posted a thread about that somewhere on his forum.
I think this is mainly for Linux Servers (port swapping part - but works for either I am sure) and you set the following like this...
"Changed this and it worked like a charm, no more port changes."
In your unrealtournament.ini change this:
[Engine.StatLog]
LocalBatcherURL=../NetGamesUSA.com/ngStats/ngStatsUT.exe
LocalBatcherParams=
LocalStatsURL=../NetGamesUSA.com/ngStats/html/ngStats_Main.html
WorldBatcherURL=../NetGamesUSA.com/ngWorldStats/bin/ngWorldStats.exe
WorldBatcherParams=-d ../NetGamesUSA.com/ngWorldStats/logs -g UT
WorldStatsURL=http://www.netgamesusa.com
LocalLogDir=../Logs
WorldLogDir=../NetGamesUSA.com/ngWorldStats/logs
bWorldBatcherError=False
bLogTypingEvents=False
to this:
[Engine.StatLog]
LocalBatcherURL=
LocalBatcherParams=
LocalStatsURL=
WorldBatcherURL=
WorldBatcherParams=
WorldStatsURL=
LocalLogDir=../Logs
WorldLogDir=
bLogTypingEvents=False
bWorldBatcherError=False
and under
[Engine.GameInfo]
bWorldLog=False
And NOW also... (from *POTS*'s post)
bLocalLog=False
and also
[IpServer.UdpServerQuery]
GameName=ut
OldQueryPortNumber=0
bRestartServerOnPortSwap=False
MinNetVer=0
bTeamInfo=False
=Hook= of Hook's UT Place - Hopelessly Addicted to UT99!
Forum: https://hooksutplace.freeforums.net
CROSSBONES Missile Madness {CMM} (GT Top 50)
PRO-Redeemer | PRO-SNIPER-Redeemer | SEEKER-Redeemer
Birth Place of ALL Seeker/Scoped Deemers!
IP: NEW IP to come!
CROSSBONES Monster Hunt {CMH} (Special Edition MH by mars007)
IP: 108.61.238.93:7777
Forum: https://hooksutplace.freeforums.net
CROSSBONES Missile Madness {CMM} (GT Top 50)
PRO-Redeemer | PRO-SNIPER-Redeemer | SEEKER-Redeemer
Birth Place of ALL Seeker/Scoped Deemers!
IP: NEW IP to come!
CROSSBONES Monster Hunt {CMH} (Special Edition MH by mars007)
IP: 108.61.238.93:7777
- Hermskii
- Site Admin
- Posts: 8514
- Joined: Sun Jul 10, 2005 9:56 pm
- NoMoreSpam: Silver
- Location: Houston, Texas
- Contact: