Raised This Month: $51 Target: $400
 12% 

SourceMod Logging Issues


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
scorpius2k1
Senior Member
Join Date: Feb 2016
Old 08-07-2018 , 13:21   SourceMod Logging Issues
Reply With Quote #1

I am having 2 very strange issues with logging...

- The main sourcemod log files in ../addons/sourcemod/logs/ folder are not being created, at all
- The log files for my plugins are created, but the files are empty (0 bytes)

The last "valid" logs were 2 days ago. I am running the latest SM (1.9 - build 624 on Linux. Please note that my user:group permissions are correct and have not changed when SM logging was working. The server itself is logging correctly to the ../logs/ folder and sv_log, etc, is enabled. Again, this appears to be some weird thing going on only with SourceMod at the moment.

The one thing I haven't tried is a server restart yet which I plan on doing as soon as player count is low since this issue is only affecting logging. Hopefully that will fix it.

Any ideas what my be causing this in the meantime?
__________________
{__ PIRATES COVE __} ● HIGH-KILL Community | Stats ●
Half-Life 2: Deathmatch
66.151.244.149:27016 => CONNECT
scorpius2k1 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 08-07-2018 , 14:05   Re: SourceMod Logging Issues
Reply With Quote #2

See if you have a sourcemod-fatal log file in the gamedir or root of the server.
__________________
asherkin is offline
scorpius2k1
Senior Member
Join Date: Feb 2016
Old 08-07-2018 , 14:52   Re: SourceMod Logging Issues
Reply With Quote #3

Quote:
Originally Posted by asherkin View Post
See if you have a sourcemod-fatal log file in the gamedir or root of the server.
Thanks asherkin, that's a negative on that. I even did a server-wide search for it and didn't find any log files with that name. I am also hosting another game server on the same machine, and it was logging fine while this was happening (same user:group root folder, but installed to a different subfolder). I did get a chance to restart the game server having the problem and as soon as it was rebooted, all logging resumed normally.

Very odd, not sure what caused this to happen, first time I've seen it in the 2 years running this server. Hopefully it doesn't continue, however, If I do see anything at all I will be sure to report back here.

Thank you again.
__________________
{__ PIRATES COVE __} ● HIGH-KILL Community | Stats ●
Half-Life 2: Deathmatch
66.151.244.149:27016 => CONNECT
scorpius2k1 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 08-07-2018 , 14:55   Re: SourceMod Logging Issues
Reply With Quote #4

What version of SM are you running? (the full output of `sm version` would be best)
__________________
asherkin is offline
scorpius2k1
Senior Member
Join Date: Feb 2016
Old 08-07-2018 , 15:11   Re: SourceMod Logging Issues
Reply With Quote #5

Quote:
Originally Posted by asherkin View Post
What version of SM are you running? (the full output of `sm version` would be best)
Quote:
Originally Posted by scorpius2k1 View Post
I am running the latest SM ( 1.9 - build 6248 ) on Linux
Looks like I am running an earlier version of 1.9.0, apologies for my original post stating otherwise. Here is my output of 'sm version', seeing the date as well, would you recommend an update?

Code:
    SourceMod Version Information:
    SourceMod Version: 1.9.0.6088
    SourcePawn Engine: 1.9.0.6088, jit-x86 (build 1.9.0.6088)
    SourcePawn API: v1 = 4, v2 = 12
    Compiled on: May 20 2017 06:51:42
    Built from: https://github.com/alliedmodders/sourcemod/commit/7006533
    Build ID: 6088:7006533
    http://www.sourcemod.net/
__________________
{__ PIRATES COVE __} ● HIGH-KILL Community | Stats ●
Half-Life 2: Deathmatch
66.151.244.149:27016 => CONNECT
scorpius2k1 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 08-07-2018 , 15:18   Re: SourceMod Logging Issues
Reply With Quote #6

This sounds like the same mystery as https://github.com/alliedmodders/sourcemod/issues/663.
__________________
asherkin is offline
scorpius2k1
Senior Member
Join Date: Feb 2016
Old 08-07-2018 , 15:28   Re: SourceMod Logging Issues
Reply With Quote #7

Thank you. It definitely sounds like I am pending an update soon. Really appreciate all the info and help.
__________________
{__ PIRATES COVE __} ● HIGH-KILL Community | Stats ●
Half-Life 2: Deathmatch
66.151.244.149:27016 => CONNECT
scorpius2k1 is offline
Reply



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 10:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode