Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-01-15 | journalctl: quit on I/O error | David Herrmann | |
This makes journalctl quit on ferror() conditions on stdout. It fixes an annoying bug if you pipe its output through 'less' and press 'q'. Without this fix journalctl will continue reading all journal data until EOF which can take quite some time. For instance on my machine: david-nb ~ # time journalctl | wc -l 327240 real 1m13.039s user 1m0.217s sys 0m10.467s However, expected behavior is journalctl to quit when its pager closed the output pipe. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com> | |||
2013-01-04 | build-sys: drop all distribution specfic checks | Lennart Poettering | |
Yay, we now have a completely generic systemd. No distribution specific checks anymore! | |||
2012-11-17 | journalctl: add option to forgo ellipsization | Zbigniew Jędrzejewski-Szmek | |
Sometimes it is better to see messages in full, and the existing set of options didn't allow this easily. E.g. now journalctl -f --full will behave like tail -f /var/log/messages of yore. Long option only for now, since small letters are becoming scarce, and this doesn't feel like a capital-letter-option. '-u' would be nice, and the above command would be spelled journalctl -fu | |||
2012-11-16 | journal: extend catalog header to 64bit for all fields, just to be safe and ↵ | Lennart Poettering | |
follow the rest of the file formats | |||
2012-11-15 | journal: implement message catalog | Lennart Poettering | |
The message catalog can be used to attach short help texts to log lines, keyed by their MESSAGE_ID= fields. This is useful to help the administrator understand the context and cause of a message, find possible solutions and find further related documentation. Since this is keyed off MESSAGE_ID= this will only work for native journal messages. The message catalog supports i18n, and is useful to augment english language system messages with explanations in the local language. This commit only includes short explanatory messages for a few example message IDs, we'll add more complete documentation for the relevant systemd messages later on. | |||
2012-11-15 | journalctl: require argument for --priority | Lekensteyn | |
This fixes a segfault due to a missing value for --priority. -p is unaffected because it is specified in the getopt_long parameter list. | |||
2012-11-12 | enable localization for common *ctl commands | Dave Reisner | |
2012-11-02 | util: add is_locale_utf8() | Michal Schmidt | |
journalctl and vconsole-setup both implement utf8 locale detection. Let's have a common function for it. The next patch will add another use. | |||
2012-10-24 | journalctl: remove left-over log message | Lennart Poettering | |
2012-10-19 | util: unify line caching and column caching | Lennart Poettering | |
2012-10-19 | util: unify usage of on_tty() in util.c | Lennart Poettering | |
2012-10-18 | journalctl: unify ellipsation handling between journalctl and systemctl | Lennart Poettering | |
2012-10-18 | journalctl: don't ellipsize unless on a tty | Lennart Poettering | |
2012-10-18 | journalctl: honour -n if -F is used | Lennart Poettering | |
2012-10-18 | journalctl: move access check before the first access to the journal files | Lennart Poettering | |
2012-10-18 | journalctl: implement quering field values with new -F switch | Lennart Poettering | |
Example: journalctl -F _SYSTEMD_UNIT will list all units that ever logged to the journal. | |||
2012-10-18 | journal: add ability to list values a specified field can take in all ↵ | Lennart Poettering | |
entries of the journal The new 'unique' API allows listing all unique field values that a field specified by a field name can take in all entries of the journal. This allows answering queries such as "What units logged to the journal?", "What hosts have logged into the journal?", "Which boot IDs have logged into the journal?". Ultimately this allows implementation of tools similar to lastlog based on journal data. Note that listing these field values will not work for journal files created with older journald, as the field values are not indexed in older files. | |||
2012-10-16 | journalctl: add --unit=/-u to match by unit name | Lennart Poettering | |
This applies unit_name_mangle() to the specified unit names and hence can handle weird characters nicely and will add unit suffixes as necessary. | |||
2012-10-16 | journalctl: harmonise in-stream comments | Lennart Poettering | |
From now on, always use ANSI-SQL-style comments in log streams, i.e. prefix with --. We also suffix things with this, just to be nice... | |||
2012-10-15 | journalctl: skip informational messages in export/json modes | Zbigniew Jędrzejewski-Szmek | |
2012-10-14 | journalctl: make --follow really work | Zbigniew Jędrzejewski-Szmek | |
2012-10-13 | journalctl: make --follow work again | Zbigniew Jędrzejewski-Szmek | |
Stopped working after cfbc22ab 'journalctl: implement --since= and --until for filtering by time'. | |||
2012-10-11 | journalctl: implement --since= and --until for filtering by time | Lennart Poettering | |
2012-10-11 | journal: support epxorting the journal in a format suitable for ↵ | Lennart Poettering | |
text/event-stream | |||
2012-10-10 | journalctl: properly parse --cursor= long getopt in addition to short -c | Lennart Poettering | |
2012-10-09 | journal: implement follow mode for HTTP GET in gatewayd | Lennart Poettering | |
2012-09-28 | logs-show: various cleanups | Lennart Poettering | |
Among other cleanups this introduces a threshold for the size of binary blobs we serialize as integer arrays in the JSON output. THis can be disabled via --all. | |||
2012-09-28 | journalctl: add --cursor switch | Lennart Poettering | |
2012-09-24 | journald: always pass first entry timestamp back from journal_file_verify() | Lennart Poettering | |
2012-09-24 | journalctl: print correct timespan in verify | Mirco Tischler | |
The old code used a timestamp to print a timespan for unsealed journalfiles, incorrectly showing things like 2230 days of unsealed entries. Print the timespan between the first and last entry instead. | |||
2012-09-24 | journalctl: reset cached column count on SIGWINCH | Dave Reisner | |
This requires a little bit of tip-toeing around to explicitly avoid touching the environment from a sig handler. Instead, simply create a function to reset the var to its "unset" state, allowing the next call to columns() to recalculate and cache the new value. | |||
2012-09-21 | journalctl: make the argument to -n optional | Lennart Poettering | |
2012-09-12 | journalctl: print QR code only if we are running on an UTF-8 system | Lennart Poettering | |
2012-09-07 | journal: add call to determine current journal file disk usage | Lennart Poettering | |
2012-09-05 | journalctl: show "Reboot" markers in output only when showing local-only entries | Lennart Poettering | |
2012-09-05 | journalctl: replace --local by --merge, i.e. don't interleave remote ↵ | Lennart Poettering | |
journals by default | |||
2012-09-05 | journalctl: rework JSON output mode | Lennart Poettering | |
This splits the JSON output mode into different modes: json and json-pretty. The former printing one entry per line, the latter showing JSON objects nicely indented and in multiple lines to make it easier to read for humans. | |||
2012-08-22 | journalctl: complain if unprivileged users attempt to access the journal and ↵ | Lennart Poettering | |
persistant logging is off | |||
2012-08-21 | journalctl: be more friendly when informing about seal verification | Lennart Poettering | |
2012-08-21 | journalctl: add a bit of color to the output | Lennart Poettering | |
2012-08-21 | journal: automatically evolve FSS key even when nothing is logged | Lennart Poettering | |
2012-08-21 | journalctl: reword things a bit | Lennart Poettering | |
2012-08-20 | journal: rearrange QR code output a bit to fi to 80x25 terminals | Lennart Poettering | |
2012-08-20 | journalctl: explain QR code use | Lennart Poettering | |
2012-08-20 | journalctl: output FSS key as QR code on generating | Lennart Poettering | |
2012-08-20 | journal: make libgcrypt dependency optional | Lennart Poettering | |
2012-08-20 | journal: fix tag ordering check | Lennart Poettering | |
2012-08-18 | jounral: write bit fiddling test | Lennart Poettering | |
This test goes through every single bit in a journal file, toggles it, and checks if this change is detected by the verification. | |||
2012-08-17 | journal: set secure deletion flags for FSS file | Lennart Poettering | |
2012-08-17 | journal: after verification output validated time range | Lennart Poettering | |