-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
El Tue, 3 Sep 2013 13:45:15 -0600
Kevin Fenzi <kevin(a)scrye.com> escribió:
Greetings.
The buildvm's were installed with Fedora 19 last week (and it's been
going well), however I noticed today that we aren't getting much
logging from them. This is due to the fact that the rsyslog config we
were using wasn't loading the journald module, so it wasn't pulling
log messages from journald.
I'd like to fix this with the attached ansible patch.
If it causes a problem, it should be easy to revert.
I can also update 1 builder first, make sure it's ok and then do the
rest.
+1s?
kevin
--
--- a/roles/base/files/rsyslog/rsyslog.conf.kojibuilder
+++ b/roles/base/files/rsyslog/rsyslog.conf.kojibuilder
@@ -6,6 +6,7 @@
#### MODULES ####
$ModLoad imuxsock.so # provides support for local system logging
(e.g. via logger command) +$ModLoad imjournal # provides access
to the systemd journal $ModLoad imklog.so # provides kernel
logging support (previously done by rklogd) #$ModLoad immark.so #
provides --MARK-- message capability
@@ -20,9 +21,19 @@ $ModLoad imklog.so # provides kernel logging
support (previously done by rklogd
#### GLOBAL DIRECTIVES ####
+# Include all config files in /etc/rsyslog.d/
+$IncludeConfig /etc/rsyslog.d/*.conf
+
# Use default timestamp format
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
+# Turn off message reception via local log socket;
+# local messages are retrieved through imjournal now.
+$OmitLocalLogging on
+
+# File to store the position in the journal
+$StateFile imjournal.state
+
#### RULES ####
# Log all kernel messages to the console.
Looks fine to me +1
Dennis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (GNU/Linux)
iEYEARECAAYFAlImTqEACgkQkSxm47BaWfcPtACfVhDSzj36LW4NohpwZlL9tocF
22MAnjrDBx0YiOSoT4cKAs7GmSsEekrQ
=8vO4
-----END PGP SIGNATURE-----