Package: sysklogd
Version: 1.4.1-18

sysklogd doesn't seem to accept changes to kern.debug (or indeed
kern.anything). I'm using the standard sylog.conf with the addition
of:

        kern.debug      /var/log/iptables.log

If I change the priority to news.notice for example, I can succesfully
add to the log with:

        logger -p news.notice Hello World - `date +%s`

However I cannot do that if I use kern.debug. sysklogd is processing
the rule (I assume correctly) as it's opening iptables.log:

COMMAND    PID        USER   FD      TYPE     DEVICE    SIZE       NODE NAME
syslogd   2319        root   10w      REG        8,1       0
591071 /var/log/iptables.log


# date
Wed Oct 17 09:18:50 BST 2007

But does not log to it:

# logger -p kern.debug `date +%s` Hello World

# stat /var/log/iptables.log
  File: `/var/log/iptables.log'
  Size: 0               Blocks: 0          IO Block: 4096   regular empty file
Device: 801h/2049d      Inode: 591071      Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    4/     adm)

Access: 2007-10-17 09:14:10.000000000 +0100
Modify: 2007-10-16 13:26:37.000000000 +0100
Change: 2007-10-17 09:08:48.000000000 +0100

Thanks,

Dave



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to