Logging
#14
(01 May 14, 11:11AM)RandumKiwi Wrote:
(01 May 14, 08:38AM)jamz Wrote:
Quote:...
#AssaultCube
*.*;auth,authpriv.none;local6.none; -var/log/syslog
...

If you have AC running on local6 (the default facility), specifying local6.none to syslog is simply going to cause AC not to be logged by the system at all. You need to then point local6.* to a file, eg.
# Save AC messages to AC log
local6.*                          -/usr/games/ac/logs/callisto.txt

Incorrect, as he's attempted to make AC direct somewhere later (see "if $syslogtag"... rsyslog's different to normal syslogd).

Stab in the dark, from my own testing. I think that it's your AC config... one small whitespace makes a tonne of difference:
-N MCastle = local#28763
-NMCastle = NCastle

Of course, this all depends on how you're issuing these command line options... so, please, run the server, and give me the output of your log that goes like this (or similar):
logging started: console(INFO), file(DISABLED), syslog(INFO, "AssaultCube[MCastle]", local6), timestamp(DISABLED)
I thought Stef said (on irc) that whitespace doesn't matter anymore?

reading commandline parameters from file 'config/servercmdline.txt'
reading commandline parameters from file 'config/custom/cmdline/CastleCmdLine.txt'
logging started: console(INFO), file(DISABLED), syslog(VERBOSE, "AssaultCube[MCastle]", local6), timestamp(ENABLED)

(01 May 14, 11:14AM)RandumKiwi Wrote: Also, another stab in the dark. Put your new AC directives *AFTER* the line that states $IncludeConfig /etc/rsyslog.d/*.conf

(some of them may conflict?)

No effect. Here's the weird thing, I'm pretty sure castle.log is being created. But 1) I have to sudo vim to view it, 2) The contents contain 0 lines, 0 bytes (unlike where syslog is actually being logged to)
Thanks given by:


Messages In This Thread
Logging - by Mousikos - 08 Mar 14, 03:20AM
RE: Logging - by blueberry - 08 Mar 14, 09:08AM
RE: Logging - by RandumKiwi - 08 Mar 14, 09:45AM
RE: Logging - by Mousikos - 10 Mar 14, 03:35PM
RE: Logging - by RandumKiwi - 10 Mar 14, 03:42AM
RE: Logging - by Mousikos - 10 Mar 14, 03:44AM
RE: Logging - by +f0r3v3r+ - 10 Mar 14, 05:40AM
RE: Logging - by DeafieGamer - 10 Mar 14, 12:39PM
RE: Logging - by RandumKiwi - 10 Mar 14, 08:11PM
RE: Logging - by Mousikos - 01 May 14, 06:09AM
RE: Logging - by jamz - 01 May 14, 08:38AM
RE: Logging - by RandumKiwi - 01 May 14, 11:11AM
RE: Logging - by Mousikos - 01 May 14, 03:54PM
RE: Logging - by RandumKiwi - 01 May 14, 11:14AM
RE: Logging - by jamz - 02 May 14, 09:57AM
RE: Logging - by RandumKiwi - 02 May 14, 11:01PM
RE: Logging - by Mousikos - 03 May 14, 01:48AM
RE: Logging - by RandumKiwi - 03 May 14, 04:01AM