Logging
#16
(02 May 14, 09:57AM)jamz Wrote:
(01 May 14, 03:54PM)Mousikos Wrote: I thought Stef said (on irc) that whitespace doesn't matter anymore?
It doesn't in servercmdline.txt, but it does if you put the switch in the command line.

(01 May 14, 11:11AM)RandumKiwi Wrote: Of course, this all depends on how you're issuing these command line options...

... and, as such, it's good to see that AC is definitely logging correctly, based on your output above.

(01 May 14, 03:54PM)Mousikos Wrote: 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)

Note how your cfg has these:
$FileOwner syslog
$FileGroup adm

Are syslog/adm able to write to the directory the logfile is stored in?

P.S: On debian, those settings are root/adm by default.
P.P.S: You've restarted rsyslog service each time, before you tested, right?
P.P.P.S: For testing, please remove &~
P.P.P.P.S: If all else fails, do it like normal syslog, as mentioned by jamz. I've found rsyslog's syntax to be a PITA sometimes (make sure rsyslog is up to date!!!)
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