~ubuntu-branches/ubuntu/precise/rsyslog/precise

« back to all changes in this revision

Viewing changes to tools/rsyslog.conf.5

  • Committer: Package Import Robot
  • Author(s): Scott Moser
  • Date: 2011-11-07 13:54:56 UTC
  • mfrom: (16.1.25 sid)
  • Revision ID: package-import@ubuntu.com-20111107135456-cwt6mu19ski1h2qf
Tags: 5.8.6-1ubuntu1
* Resynchronise with Debian. Remaining changes:
  - Run as rsyslog:rsyslog, set $FileOwner to syslog
  - Replace init script with debian/rsyslog.upstart.
  - debian/rsyslog.logrotate: Use reload command to restart rsyslog
  - debian/rsyslog.conf: enable $RepeatedMsgReduction 
    to avoid bloating the syslog file (LP #453444)
  - Add debian/rsyslog.dmesg.upstart to save initial dmesg into a file.
    Install it in debian/rules.
  - debian/50-default.conf: set of default rules for syslog (forwarded to
    Debian #603160). remove file in postrm on purge. manage with ucf.
  - debian/rules: build with LDFLAGS=""
* Dropped:
  - debian/patches/02-CVE-2011-3200.patch (fixed in upstream release)

Show diffs side-by-side

added added

removed removed

Lines of Context:
272
272
forwarding. For full details, please see the html documentation.
273
273
 
274
274
.SS List of users
275
 
Usually critical messages are also directed to ``root'' on that machine. You can specify a list 
276
 
of users that shall get the message by simply writing the login. You may specify more than one 
277
 
user by separating them with commas (','). If they're logged in they get the message. Don't 
278
 
think a mail would be sent, that might be too late.
 
275
Usually critical messages are also directed to ``root'' on that machine. You
 
276
can specify a list 
 
277
of users that shall get the message by simply writing ":omusrmsg:" followed
 
278
by the login name. You may specify more than one 
 
279
user by separating them with commas (','). If they're logged in they
 
280
get the message (for example: ":omusrmsg:root,user1,user2").
279
281
 
280
282
.SS Everyone logged on
281
283
Emergency messages often go to all users currently online to notify them that something strange 
282
 
is happening with the system. To specify this wall(1)-feature use an asterisk ('*').
 
284
is happening with the system. To specify this wall(1)-feature use an ":omusrmsg:*".
283
285
 
284
286
.SS Database table
285
287
This allows logging of the message to a database table.
558
560
 
559
561
Keep in mind that $outchannel just defines a channel with "name". It does not activate it. 
560
562
To do so, you must use a selector line (see below). That selector line includes the channel 
561
 
name plus an $ sign in front of it. A sample might be:
 
563
name plus ":omfile:$" in front of it. A sample might be:
562
564
.sp
563
565
.RS
564
 
*.* $mychannel
 
566
*.* :omfile:$mychannel
565
567
.RE
566
568
 
567
569
.SH PROPERTY REPLACER