View Full Version : Loggin on Linux server
imported_redeye
11-03-2003, 08:51 AM
Anyone know how 2 get logging on a cod-linuxserver 2 work? It keeps writing everything to screen. :?
HankScorpio
11-03-2003, 09:14 AM
The console output and the logfile are two seperate things.
The logfile is enabled by default. The thing is that the default location for it isn't the main directory under the server files but rather the main directory under fs_homepath which is $HOME/.callofduty by default. Just go to your home directory for your user account and cd .callofduty/main and look for the file games_mp.log. That's the default logfile.
If you don't want screen output, add +set ttycon 0 to the command line when you start the server.
If you want to keep a log of the console output, use the screen command which is installed on most Linux distros these days. The -L switch enables logging.
I start my server like this...
screen -L -dm -S cod-normal ./cod_lnxded +set net_port 28960 +exec server_normal.cfg
imported_redeye
11-03-2003, 12:24 PM
Thx
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.