Merge lp:~andreserl/maas/lp1575337 into lp:~maas-maintainers/maas/packaging

Proposed by Andres Rodriguez
Status: Merged
Approved by: Andres Rodriguez
Approved revision: 490
Merged at revision: 490
Proposed branch: lp:~andreserl/maas/lp1575337
Merge into: lp:~maas-maintainers/maas/packaging
Diff against target: 29 lines (+7/-4)
2 files modified
debian/changelog (+1/-1)
debian/extras/20-maas.conf (+6/-3)
To merge this branch: bzr merge lp:~andreserl/maas/lp1575337
Reviewer Review Type Date Requested Status
Andres Rodriguez (community) Approve
Review via email: mp+293029@code.launchpad.net

Commit message

Make sure that filter only applies to the last rule and doens't prevent from logging everything to syslog

To post a comment you must log in.
Revision history for this message
Andres Rodriguez (andreserl) wrote :

selfie!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2016-04-26 19:37:38 +0000
3+++ debian/changelog 2016-04-26 23:18:33 +0000
4@@ -1,4 +1,4 @@
5-maas (2.0.0~beta4+bzr4944-0ubuntu1) UNRELEASED; urgency=medium
6+maas (2.0.0~beta4+bzr4958-0ubuntu1) UNRELEASED; urgency=medium
7
8 * UNRELEASED
9 * debian/extras/20-maas.conf: Better organize rsyslog logs.
10
11=== modified file 'debian/extras/20-maas.conf'
12--- debian/extras/20-maas.conf 2016-04-21 02:46:14 +0000
13+++ debian/extras/20-maas.conf 2016-04-26 23:18:33 +0000
14@@ -29,9 +29,12 @@
15
16 if $hostname == "maas-enlisting-node" then {
17 :fromhost-ip, !isequal, "127.0.0.1" ?MAASenlist
18+ # Stop messages that came from anywhere else from going into other places
19+ # like /var/log/syslog. If you want to see these messages there, then comment below
20+ & ~
21 } else {
22 :fromhost-ip, !isequal, "127.0.0.1" ?MAASboot
23+ # Stop messages that came from anywhere else from going into other places
24+ # like /var/log/syslog. If you want to see these messages there, then comment below
25+ & ~
26 }
27-# Stop messages that came from anywhere else from going into other places
28-# like /var/log/syslog. If you want to see these messages there, then comment below
29-& ~

Subscribers

People subscribed via source and target branches

to all changes: