SRCDS Steam group


Server isn't logging?
#1
My server isn't writing logs, in my server.cfg I have this written

Code:
//server Logging
sv_log_onefile 1 //Log server information to only one file.
sv_logbans 1 //Log server bans in the server logs.
sv_logecho 1 //Echo log information to the console.
sv_logfile 1 //Log server information in the log file.

I followed Beck's TF2 guide, and I have never been able to log anything. Could it be that I'm looking in the wrong spot? I have sourcemod and Beetles mod and those two log their info just fine. But sometimes I need to know who joined my server. Because there was a hacker here, and well I missed him. And I can't find his ip anywhere. I want to ban him

Please Help
Thanks
Reply
#2
they should be in the log folder...
And it should be a HUGE log file...
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#3
where is it located?
???
Reply
#4
Try this:
Code:
log on
// enable or disable server logging. on is on / off is off
sv_logbans 1
// Log server bans in the server logs
sv_logecho 1
// Echo log information to the console. 0 is off 1 is on
sv_logfile 1
// Log server information in the log file. 0 is off 1 is on
sv_log_onefile 1
// log everything in one file
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#5
log on is what you need, the logs are created in mod/logs also its recommended to have sv_log_onefile 0 because it makes it take a LOOOOOONNNNNNNNNNG time to load.
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#6
Yes it finally worked, thanks mooga
but I tried sm plugins list and it showed up in console, but not in the logs? What's the command for that?
Reply
#7
Its not in the logs, that is never logged and you can just get the list from rcon or hlsw
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)