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

[L4D2] Real time logging?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
XpertMaverick
Junior Member
Join Date: Aug 2014
Old 11-07-2014 , 19:01   [L4D2] Real time logging?
Reply With Quote #1

Is there a setting somewhere for L4D2 servers where I can set the logging to real time? I'm trying to make a simple IRC script that outputs L4D2 kill message events to a channel but the logging for the server is delayed. It will throw 5 minutes worth of logging or so all at one time instead of doing it as the events occur.

I run sourcemod and metamod with my server.

I'd appreciate the help with this!
__________________


XpertMaverick is offline
Neevar
Senior Member
Join Date: Mar 2014
Old 11-07-2014 , 23:27   Re: [L4D2] Real time logging?
Reply With Quote #2

if you're using the logs folder to get your data,

maybe you should try setting sv_logsflush to 1?

More
Quote:
Originally Posted by Bacardi View Post
[*]sv_logflush Top
Code:
"sv_logflush" = "0"
 archive
 - Flush the log file to disk on each write (slow).
When disabled, you not get server info in "real time".
Seems server collect info and when it grows over 33KB it write in log file.
Now if server suddenly shutdown/crash, you maybe lost about 500 lines info.

Enabled, it write info in log file "real time", this could take performance from server!
Neevar is offline
XpertMaverick
Junior Member
Join Date: Aug 2014
Old 11-08-2014 , 20:10   Re: [L4D2] Real time logging?
Reply With Quote #3

Thank you Neevar! I'm not worried about performance. But this helps
__________________


XpertMaverick 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 09:45.


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