post-build-hook output should probably go into the system journal #675

Open
opened 2025-02-14 20:43:09 +00:00 by jade · 3 comments
Owner

Currently as it stands, post-build-hook output is hidden unless your log format actually outputs logs. This is annoying at work because post build hook failures don't get into any log that is actually findable after the fact in spite of generally being a thing that is owned by the "system".

Also it maybe should just be printed by default if you don't print-build-logs? It's usually much shorter than that and is useful to the user.

Currently as it stands, post-build-hook output is hidden unless your log format actually outputs logs. This is annoying at work because post build hook failures don't get into any log that is actually findable after the fact in spite of generally being a thing that is owned by the "system". Also it maybe should just be printed by default if you don't print-build-logs? It's usually much shorter than that and is useful to the user.
Member

This issue was mentioned on Gerrit on the following CLs:

  • commit message in cl/2801 ("logging: always print post build hook logs")
  • commit message in cl/4696 ("libstore/build: send post-build-hook logs to syslog")
<!-- GERRIT_LINKBOT: {"cls": [{"backlink": "https://gerrit.lix.systems/c/lix/+/2801", "number": 2801, "kind": "commit message"}, {"backlink": "https://gerrit.lix.systems/c/lix/+/4696", "number": 4696, "kind": "commit message"}], "cl_meta": {"2801": {"change_title": "logging: always print post build hook logs"}, "4696": {"change_title": "libstore/build: send post-build-hook logs to syslog"}}} --> This issue was mentioned on Gerrit on the following CLs: * commit message in [cl/2801](https://gerrit.lix.systems/c/lix/+/2801) ("logging: always print post build hook logs") * commit message in [cl/4696](https://gerrit.lix.systems/c/lix/+/4696) ("libstore/build: send post-build-hook logs to syslog")
Owner

this seems solved?

this seems solved?
Author
Owner

not into the journal, it's not

not into the journal, it's not
pennae added this to the 2.95 milestone 2025-12-01 14:51:31 +00:00
raito self-assigned this 2025-12-07 00:26:27 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix#675
No description provided.