SRCDS Steam group


win32 server not creating logs ..
#1
Rolleyes 
I have created a Windows server of source on OS windows 2003 but the server isnt creating any log files in the /cstrike/log directory , although i have enabled these options in server.cfg file .

log on
sv_logfile 1

what can be wrong ?




Reply
#2
here is my loggin cvars:

Code:
//Log File Controls and contact info

log on           //log on doh!
sv_logsdir logs  //the directory within the cstrike directory to safe the log files to.

sv_logecho 0     //Echos log info to server console
sv_region 0      //Server Region

//Regions:
//    sv_region #
//    0 US East coast
//    1 US West coast
//    2 South America
//    3 Europe
//    4 Asia
//    5 Australia
//    6 Middle East
//    7 Africa
//    255 world

sv_logbans 1     //Saves bans
sv_log_onefile 1 //logs all the info to a single file (1 file per server start up)

sv_contact <place your email here!> //where players can contact a sys-admin

All of these cvars help your server logging and your players on the server.
Reply
#3
nope still no logs ..
just for information i am looking in /cstrike/log folder .. right ?
Reply
#4
Thats the right spot.
Is it not creating any logs at all? I was having trouble with my server, it was creating log files but they were empty. I added "sv_logfile 1" to my server.cfg and that helped me out.
mzracer360.game-host.org:27015
Reply
#5
you don't have the folder set to like read only or something goofey like that do you? or have the server running on a user that doesn't have write access to all folders? if its not making the logs at all, and you have them cvars in your server.cfg, and your server.cfg is working right, then thats about the only thing i can think of right now.
Reply
#6
Put this in your server.cfg file:

Quote:// server logging
sv_logbans 1
sv_logecho 1
sv_logfile 1
sv_log_onefile 0
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)