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.
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ infrastructure mailing list infrastructure@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/infrastructure