Timeline for Get output into journal in a C written service
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 6, 2024 at 19:14 | comment | added | Stephen Kitt | It is weird, especially since a shell script has its output in the journal... | |
| Oct 6, 2024 at 17:56 | vote | accept | puck | ||
| Oct 6, 2024 at 17:51 | comment | added | puck | I tried your answer in the link, using syslog works fine. I had newlines after my messages, so this should have worked too. StandardOutput goes to journal, as show tells me. I also tried fflush but without success. My code can determine how to log, so it's no big effort to change that. But nevertheless I am really curious why the default behavior doesn't work for me. | |
| Oct 6, 2024 at 17:34 | history | edited | Stephen Kitt | CC BY-SA 4.0 | Might need to flush. |
| Oct 6, 2024 at 16:08 | history | answered | Stephen Kitt | CC BY-SA 4.0 |