Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1 Use fixed syslog facility

closed
nobody
None
5
2008-01-10
2008-01-07
No

At the moment the remote syslog messages use various facilities, making it difficult to filter them using the standard syslog.conf selection mechanisms. Please consider using a fixed (configurable) syslog facility like local0 instead.

Discussion

  • tarifa
    tarifa
    2008-01-07

    Logged In: YES
    user_id=1482280
    Originator: NO

    The syslogd(klogd) used is the one out of busybox:

    #
    # System Logging Utilities
    #
    CONFIG_SYSLOGD=y
    CONFIG_FEATURE_ROTATE_LOGFILE=y
    CONFIG_FEATURE_REMOTE_LOG=y
    CONFIG_FEATURE_IPC_SYSLOG=y
    CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16
    CONFIG_LOGREAD=y
    # CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set
    CONFIG_KLOGD=y
    CONFIG_LOGGER=y

    The busybox version is very limited and does not have a syslog.conf option.
    Here are the available options:

    BusyBox v1.1.2 (2008.01.06-11:30+0000) multi-call binary

    Usage: syslogd [OPTION]...

    Linux system and kernel logging utility.
    Note that this version of syslogd ignores /etc/syslog.conf.

    Options:
    -m MIN Minutes between MARK lines (default=20, 0=off)
    -n Run as a foreground process
    -O FILE Use an alternate log file (default=/var/log/messages)
    -S Make logging output smaller.
    -s SIZE Max size (KB) before rotate (default=200KB, 0=off)
    -b NUM Number of rotated logs to keep (default=1, max=99, 0=purge)
    -R HOST[:PORT] Log to IP or hostname on PORT (default PORT=514/UDP)
    -L Log locally and via network logging (default is network only)
    -C [size(KiB)] Log to a circular buffer (read the buffer using logread)

    For this a full version of syslogd and klogd is needed.
    Greetings,
    jchuit

     
  • tarifa
    tarifa
    2008-01-10

    • status: open --> closed