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

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

Sat Jun 14, 2008 2:49 am

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

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

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




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest