mirror of
https://github.com/systemd/systemd.git
synced 2026-07-21 15:00:38 +00:00
Report about syntax errors with metadata
The information about the unit for which files are being parsed is passed all the way down. This way messages land in the journal with proper UNIT=... or USER_UNIT=... attribution. 'systemctl status' and 'journalctl -u' not displaying those messages has been a source of confusion for users, since the journal entry for a misspelt setting was often logged quite a bit earlier than the failure to start a unit. Based-on-a-patch-by: Oleksii Shevchuk <alxchk@gmail.com>
This commit is contained in:
@@ -36,3 +36,4 @@
|
||||
.. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_STARTING
|
||||
.. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_STOPPED
|
||||
.. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_STOPPING
|
||||
.. autoattribute:: systemd.id128.SD_MESSAGE_CONFIG_ERROR
|
||||
|
||||
Reference in New Issue
Block a user