server.log - shows no output...

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

server.log - shows no output...

Postby thedevnull » Sat Jun 14, 2008 2:18 am

Hey everyone,

I setup server.log in my config so I could see rcon logging but it doesn't seem to be working. I touched the server.log file in /nexuiz and even though I have been playing all day with rcon its show as empty...
thedevnull
Member
 
Posts: 29
Joined: Wed Apr 16, 2008 12:35 am

Postby Psychcf » Sat Jun 14, 2008 2:49 am

More info is needed.

What OS are you running?
where is the server.log file? (provide a FULL path)
Psychcf
Forum addon
 
Posts: 1554
Joined: Sun Dec 03, 2006 11:38 pm
Location: NY, USA

Postby Ronan » Sat Jun 14, 2008 12:48 pm

You need to use the following command (in the console or directly in your server.cfg) :
log_file myserver.log

to add the date :
timestamps 1

now with your shell :
Code: Select all
nex@serv:~/.nexuiz/data$ grep rcon myserver.log
^7[2008-03-04 22:13:21] server received rcon command from <ip or player name>: status; kick # 7 AHAHAHAHAHAHAH));
^7[2008-03-04 22:13:27] server received rcon command from <ip>:  status; log_dest_udp; rcon2irc_eval set dummy 1;

Ronan
Alien trapper
 
Posts: 292
Joined: Tue Mar 20, 2007 10:25 pm
Location: France

nothing in server.log

Postby thedevnull » Sat Jun 14, 2008 2:51 pm

Hey everyone,

Thanks for your responses. I am on Debian 4 patched as of today, Nexuiz 2.4.2. and I have enabled logging in my server.cfg as below.

log_file server.log

I created an empty server.log file in ~/Nexuiz and restarted the server. No matter what I do there is no output being written to this file... Any ideas?

Thanks!
thedevnull
Member
 
Posts: 29
Joined: Wed Apr 16, 2008 12:35 am

Postby Ronan » Sat Jun 14, 2008 3:38 pm

you don't need to create an empty server.log, nexuiz will do it for you.
And the log file location is ~/.nexuiz/data
Ronan
Alien trapper
 
Posts: 292
Joined: Tue Mar 20, 2007 10:25 pm
Location: France


Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron