Package org.yamcs.logging
Class JournalFormatter
java.lang.Object
java.util.logging.Formatter
org.yamcs.logging.JournalFormatter
A minimalistic formatter that is intended for use with systems that use the systemd journal. Useful for quick error
detection. Characteristics:
- Does not print timestamps (responsibility of journald)
- Does not print full stack traces
- Does not print Yamcs instance or logger names
- Converts level messages to syslog conventions which journald also applies
ConsoleHandler
that uses this formatter and then somehow send the console output to
journald (for example by using a systemd service unit).-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail