Difference between revisions of "Logging Infrastructure"
Jump to navigation
Jump to search
(Initial page) |
|||
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
Here is a schema explaining how they interact with each other: | Here is a schema explaining how they interact with each other: | ||
− | [[File:Syslog_with_journald. | + | [[File:Syslog_with_journald.png|thumbnail|journald and PmLogDaemon]] |
In other words, the logging works in this order: | In other words, the logging works in this order: |
Latest revision as of 14:03, 8 June 2020
Logging Infrastructure in LuneOS
There are two main pieces in the logging infrastructure: journald and PmLogDaemon.
Here is a schema explaining how they interact with each other:
In other words, the logging works in this order:
1. journald aggregates all the messages in its journal: syslog, services output, kernel messages... 2. journald outputs the consolidated journal to a dedicated socket (when available) 3. PmLogDaemon creates that socket and produces its own file-based log output