11-30-2011, 06:21 AM
(This post was last modified: 11-30-2011, 06:22 AM by deviantlinux.)
I've been looking into the logs of my CS Source server. It seems to write the logs in a weird way, and wondered if anyone else had the same problem.
First off, it's not storing them with a newline at the end, so when I `tail` them, I get trailing letters on it. Also, sometimes the latest log gets written to and sometimes it doesn't. Anyone else have inconsistencies with logging?
For example, I go into my server and drop the bomb, and pick it back up; this gets logged. Then later I do the same thing and it's not logged.
Here's my log items in server.cfg:
First off, it's not storing them with a newline at the end, so when I `tail` them, I get trailing letters on it. Also, sometimes the latest log gets written to and sometimes it doesn't. Anyone else have inconsistencies with logging?
For example, I go into my server and drop the bomb, and pick it back up; this gets logged. Then later I do the same thing and it's not logged.
Here's my log items in server.cfg:
Code:
log on
sv_logfile 1
sv_logecho 0
sv_log_onefile 1
sv_logbans 1
sv_logdownloadlist 1
mp_logdetail 3
Linux Gameserver connoisseur, SRCDS admin.