Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:base-system:log.essentials [2023/10/27 14:53] – [Alternative implementations] elux011 | docs:guide-user:base-system:log.essentials [2024/06/02 06:30] – [logread] stokito | ||
|---|---|---|---|
| Line 55: | Line 55: | ||
| ===== logd ===== | ===== logd ===== | ||
| - | '' | + | '' |
| + | It also listens for ''/ | ||
| + | It' | ||
| <code bash> | <code bash> | ||
| Line 70: | Line 72: | ||
| ==== logread ==== | ==== logread ==== | ||
| - | This is the default interface | + | This is the default interface |
| - | It is a local executable that will read the ring buffer records and display them chronologically. | + | |
| + | It is a local executable | ||
| + | |||
| + | To show all log messages that contains a specific text (like a daemon name) and follow (like in '' | ||
| + | <code bash> | ||
| + | logread -fe firewall | ||
| + | </ | ||
| + | |||
| + | Options: | ||
| + | < | ||
| + | -s < | ||
| + | -l < | ||
| + | -e < | ||
| + | -r < | ||
| + | -F < | ||
| + | -S < | ||
| + | -p < | ||
| + | -h < | ||
| + | -P < | ||
| + | -z < | ||
| + | -Z < | ||
| + | -f Follow log messages | ||
| + | -u Use UDP as the protocol | ||
| + | -t Add an extra timestamp | ||
| + | -0 Use \0 instead of \n as trailer when using TCP | ||
| + | </ | ||
| + | |||
| + | Please note that if you install the [[: | ||
| + | |||
| ==== Local file logging ==== | ==== Local file logging ==== | ||