Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156519 - app-admin/syslog-ng doesn't provide useful default settings for FreeBSD
Summary: app-admin/syslog-ng doesn't provide useful default settings for FreeBSD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High minor (vote)
Assignee: Mr. Bones. (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-28 08:28 UTC by Tiziano Müller (RETIRED)
Modified: 2007-03-27 07:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiziano Müller (RETIRED) gentoo-dev 2006-11-28 08:28:56 UTC
The problem is that FreeBSD doesn't have /dev/log device.
A working default config-file could look like the following:

******************************************************************

# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo,v 1.5 2005/05/12 05:46:10 mr_bones_ Exp $
#
# Syslog-ng default configuration file for Gentoo Linux
# contributed by Michael Sterrett

options {
        chain_hostnames(off);
        sync(0);

        # The default action of syslog-ng 1.6.0 is to log a STATS line
        # to the file every 10 minutes.  That's pretty ugly after a while.
        # Change it to every 12 hours so you get a nice daily update of
        # how many messages syslog-ng missed (0).
        stats(43200);
};

source src { unix-dgram("/var/run/log"); file("/dev/klog"); internal(); };

destination messages { file("/var/log/messages"); };

log { source(src); destination(messages); };
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2007-03-27 07:39:22 UTC
in 2.0.3.

thanks for the bug report and conf file.