ports/sysutils/rsyslog8/files/pkg-message.in
Matthew Seaman 8b1a09a372 * Update to 8.11.0
- Upstream has incorporated one part of the patches to runtime/stream.c
  - regenerate patches with 'make makepatch'
* Modernize port
  - Use OPTION helpers
  - USE_AUTOTOOLS -> USES+= autoreconf
* Set INSTALL_TARGET=install-strip rather than stripping in post-install:
  - Previously optional modules wouldn't have been stripped
* Update pkg-message.in to use the now standard 'Rainier script' configuration
  file syntax (http://www.rsyslog.com/doc/rainerscript.html).
* Add new option to enable the mmnormalize module. (http://www.rsyslog.com/doc/v8-stable/configuration/modules/mmnormalize.html)
  This enables converting some not-standard log formats to RFC3164 or
  RFC5424 styles, amongst other possible transformations.
* Tweak PORTSCOUT setting

PR:		202080
Approved by:	brd (maintainer)
2015-08-04 20:29:28 +00:00

25 lines
858 B
Text

===================================================================
To start using rsyslogd(8), stop syslogd(8) if it's running and
add the following lines to rc.conf(5):
syslogd_enable="NO"
rsyslogd_enable="YES"
It's recommended to copy syslog.conf(5) to
%%PREFIX%%/etc/rsyslog.conf and edit it there. Otherwise add
this:
rsyslogd_config="/etc/syslog.conf"
Add the following (3) lines to the beginning of the config file, for
basic functionality:
module(load="immark") # provides --MARK-- message capability
module(load="imuxsock") # provides support for local system logging
module(load="imklog") # kernel logging
newsyslog(8) has the path of syslogd's pid file hardcoded. To
make it work seamlessly with rsyslog, add this:
rsyslogd_pidfile="/var/run/syslog.pid"
===================================================================