- 29 Jan, 2013 1 commit
-
-
Zbigniew Jędrzejewski-Szmek authored
Makes it easier to watch just for new entries. Once scenario is where the user starts 'journalctl -qfn0' to watch for changes during some operation.
-
- 15 Jan, 2013 1 commit
-
-
David Herrmann authored
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>
-
- 04 Jan, 2013 1 commit
-
-
Lennart Poettering authored
Yay, we now have a completely generic systemd. No distribution specific checks anymore!
-
- 17 Nov, 2012 1 commit
-
-
Zbigniew Jędrzejewski-Szmek authored
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
-
- 16 Nov, 2012 1 commit
-
-
Lennart Poettering authored
journal: extend catalog header to 64bit for all fields, just to be safe and follow the rest of the file formats
-
- 15 Nov, 2012 2 commits
-
-
Lennart Poettering authored
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.
-
Lekensteyn authored
This fixes a segfault due to a missing value for --priority. -p is unaffected because it is specified in the getopt_long parameter list.
-
- 12 Nov, 2012 1 commit
-
-
Dave Reisner authored
-
- 02 Nov, 2012 1 commit
-
-
Michal Schmidt authored
journalctl and vconsole-setup both implement utf8 locale detection. Let's have a common function for it. The next patch will add another use.
-
- 23 Oct, 2012 1 commit
-
-
Lennart Poettering authored
-
- 18 Oct, 2012 8 commits
-
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
Example: journalctl -F _SYSTEMD_UNIT will list all units that ever logged to the journal.
-
Lennart Poettering authored
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.
-
- 16 Oct, 2012 1 commit
-
-
Lennart Poettering authored
This applies unit_name_mangle() to the specified unit names and hence can handle weird characters nicely and will add unit suffixes as necessary.
-
- 15 Oct, 2012 2 commits
-
-
Lennart Poettering authored
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...
-
Zbigniew Jędrzejewski-Szmek authored
-
- 14 Oct, 2012 1 commit
-
-
Zbigniew Jędrzejewski-Szmek authored
-
- 13 Oct, 2012 1 commit
-
-
Zbigniew Jędrzejewski-Szmek authored
Stopped working after cfbc22ab 'journalctl: implement --since= and --until for filtering by time'.
-
- 11 Oct, 2012 2 commits
-
-
Lennart Poettering authored
-
Lennart Poettering authored
-
- 09 Oct, 2012 1 commit
-
-
Lennart Poettering authored
-
- 08 Oct, 2012 1 commit
-
-
Lennart Poettering authored
-
- 27 Sep, 2012 2 commits
-
-
Lennart Poettering authored
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.
-
Lennart Poettering authored
-
- 24 Sep, 2012 3 commits
-
-
Lennart Poettering authored
-
Mirco Tischler authored
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.
-
Dave Reisner authored
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.
-
- 21 Sep, 2012 1 commit
-
-
Lennart Poettering authored
-
- 12 Sep, 2012 1 commit
-
-
Lennart Poettering authored
-
- 07 Sep, 2012 1 commit
-
-
Lennart Poettering authored
-
- 05 Sep, 2012 3 commits
-
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
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.
-
- 22 Aug, 2012 1 commit
-
-
Lennart Poettering authored
journalctl: complain if unprivileged users attempt to access the journal and persistant logging is off
-
- 21 Aug, 2012 1 commit
-
-
Lennart Poettering authored
-