| Summary: | All log entries have "journal" prepended | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Pete Zaitcev <zaitcev> |
| Component: | openstack-swift | Assignee: | Silas Sewell <silas> |
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | apevec, breu, david, derekh, itamar, jonathansteffan, markmc, mmagr, rbryant, silas, zaitcev |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-11-05 14:51:22 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Pete Zaitcev
2013-10-11 04:31:54 UTC
Oh, brother, it's just as I suspected. The /dev/log is served by the systemd-journal, which parses the messages, optionally stores them, then reassembles them back and forwards to rsyslog. At the parsing time, something called "identifier" is searched by looking for a word surrounded by whitespace and ending with a colon. It's in src/journal/journal-syslog.c, server_process_syslog_message => syslog_parse_identifier If the indentifier is not set, something in the depths of systemd adds it. There's an option of forwarding to syslog raw, and in fact it is enabled by default in systemd. Rsyslog is configured to listen on /run/systemd/journal/syslog as well (with $SystemLogSocketName in /etc/rsyslog.d/listen.conf), but it does not actually listen there. The way journal forwards logging to rsyslogd is fairly strange and difficult to pick up with strace - apparently it goes through shared mmap-ed file, watched with inotify in /var/log/journal/xxxxxxxxx/user-531.journal merged upstream (tentatively at least), will track in Icehouse |