Questions tagged [journald]

107 questions
31
votes
1 answer

How to configure systemd journal-remote?

How to configure systemd journal-remote to listen on specific port? All I can find are command line examples. And base on man page, there don't seems to be any option in journal-remote.conf.
John Siu
  • 3,737
4
votes
2 answers

Systemd: Default log output format

I am wondering if the default output for journalctl can be adjusted. Such that a custom pattern can be supplied. For example I would like to: display the log level (e.g. priority) configure fixed column width for certain journal fields enable…
lanoxx
  • 302
2
votes
1 answer

How to write multiline log entry to journald?

My NodeJS-based service writes multiline logs using console.log to journald. However, logs get broken down on each new line (\n). How can I have a multiline message in a single log entry? Thank you!
geeko
  • 141
0
votes
1 answer

Q: journalctl to prefix message with own meta data?

How would one prefix journald log entries with metadata within the log message? I'm thinking I may have to view one of the verbose outputs, filter out line breaks and all extra info, find just the items I am looking for (DateTime, Docker…