summaryrefslogtreecommitdiff
path: root/src/journal/journalctl.c
AgeCommit message (Collapse)Author
2012-10-11journal: support epxorting the journal in a format suitable for ↵Lennart Poettering
text/event-stream
2012-10-10journalctl: properly parse --cursor= long getopt in addition to short -cLennart Poettering
2012-10-09journal: implement follow mode for HTTP GET in gatewaydLennart Poettering
2012-09-28logs-show: various cleanupsLennart 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-28journalctl: add --cursor switchLennart Poettering
2012-09-24journald: always pass first entry timestamp back from journal_file_verify()Lennart Poettering
2012-09-24journalctl: print correct timespan in verifyMirco 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-24journalctl: reset cached column count on SIGWINCHDave 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-21journalctl: make the argument to -n optionalLennart Poettering
2012-09-12journalctl: print QR code only if we are running on an UTF-8 systemLennart Poettering
2012-09-07journal: add call to determine current journal file disk usageLennart Poettering
2012-09-05journalctl: show "Reboot" markers in output only when showing local-only entriesLennart Poettering
2012-09-05journalctl: replace --local by --merge, i.e. don't interleave remote ↵Lennart Poettering
journals by default
2012-09-05journalctl: rework JSON output modeLennart 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-22journalctl: complain if unprivileged users attempt to access the journal and ↵Lennart Poettering
persistant logging is off
2012-08-21journalctl: be more friendly when informing about seal verificationLennart Poettering
2012-08-21journalctl: add a bit of color to the outputLennart Poettering
2012-08-21journal: automatically evolve FSS key even when nothing is loggedLennart Poettering
2012-08-21journalctl: reword things a bitLennart Poettering
2012-08-20journal: rearrange QR code output a bit to fi to 80x25 terminalsLennart Poettering
2012-08-20journalctl: explain QR code useLennart Poettering
2012-08-20journalctl: output FSS key as QR code on generatingLennart Poettering
2012-08-20journal: make libgcrypt dependency optionalLennart Poettering
2012-08-20journal: fix tag ordering checkLennart Poettering
2012-08-18jounral: write bit fiddling testLennart 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-17journal: set secure deletion flags for FSS fileLennart Poettering
2012-08-17journal: after verification output validated time rangeLennart Poettering
2012-08-17journal: rework terminologyLennart Poettering
Let's clean up our terminology a bit. New terminology: FSS = Forward Secure Sealing FSPRG = Forward Secure Pseudo-Random Generator FSS is the combination of FSPRG and a HMAC. Sealing = process of adding authentication tags to the journal. Verification = process of checking authentication tags to the journal. Sealing Key = The key used for adding authentication tags to the journal. Verification Key = The key used for checking authentication tags of the journal. Key pair = The pair of Sealing Key and Verification Key Internally, the Sealing Key is the combination of the FSPRG State plus change interval/start time. Internally, the Verification Key is the combination of the FSPRG Seed plus change interval/start time.
2012-08-16journal: add FSPRG journal authenticationLennart Poettering
2012-08-16journalctl: immeidately terminate on invalid seedLennart Poettering
2012-08-16journalctl: add --verify-seed= switch to specify seed valueLennart Poettering
2012-08-16journal: split up journal-file.cLennart Poettering
2012-08-16journal: implement basic journal file verification logicLennart Poettering
2012-08-13journal: add all objects we add to HMACLennart Poettering
2012-08-13journald: initial version of FSPRG hookupLennart Poettering
This adds forward-secure authentication of journal files. This patch includes key generation as well as tagging of journal files, Verification of journal files will be added in a later patch.
2012-08-09journalctl: support device node matches as shortcutLennart Poettering
2012-07-27journalctl: add --priority= switch for filtering by priorityLennart Poettering
2012-07-26journalctl: hightlight log lines by priorityLennart Poettering
warn/notice = bright white < error = red
2012-07-26log.h: new log_oom() -> int -ENOMEM, use itShawn Landden
also a number of minor fixups and bug fixes: spelling, oom errors that didn't print errors, not properly forwarding error codes, few more consistency issues, et cetera
2012-07-25use "Out of memory." consistantly (or with "\n")Shawn Landden
glibc/glib both use "out of memory" consistantly so maybe we should consider that instead of this. Eliminates one string out of a number of binaries. Also fixes extra newline in udev/scsi_id
2012-07-23journalctl: fix ellipsization with PAGER=catZbigniew Jedrzejewski-Szmek
There are other reasons for not opening the pager then the --no-pager or --follow options (described below). If the pager is not used, messages must be ellipsized. On Fri, Jul 20, 2012 at 05:42:44AM +0000, Shawn Landen wrote: > "Pager to use when --no-pager is not given; overrides $PAGER. > Setting this to an empty string or the value cat is equivalent to passing --no-pager."
2012-07-17journalctl: do not ellipsize when using pagerZbigniew Jędrzejewski-Szmek
If a pager is used, ellipsization is redundant — the pager does that better by hiding the part that cannot be shown. Pager's advantage is that the user can press → to view the hidden part of a message, and then ← to return.
2012-07-17logs: Adapt interface in log-show.c (output_journal)Zbigniew Jędrzejewski-Szmek
In preparation for adding more output switches, convert a series of flags arguments into one flag variable.
2012-07-17journal: automatically rotate journal files if the data hash table is full > 75%Lennart Poettering
Previously, when the main data hash table grows too full the performance simply started to decrease drastically. Instead, now simply rotate to a new journal file as the hash table gets to full, so that we can start with a new fresh empty hash table.
2012-07-13journal: beef up journal matches considerablyLennart Poettering
we now can take multiple matches, and they will apply as AND if they apply to different fields and OR if they apply to the same fields. Also, terms of this kind can be combined with an overreaching OR.
2012-07-11journalctl: add a marker to log output for rebootsLennart Poettering
With this we'll print a marker "----- Reboot -----" between two subsequent lines with different boot IDs.
2012-07-11journal: rework directory enumeration/watch logicLennart Poettering
There's now sd_journal_new_directory() for watching specific journal directories. This is exposed in journalctl -D. sd_journal_wait() and sd_journal_process() now return whether changes in the journal are invalidating or just appending. We now create inotify kernel watches only when we actually need them
2012-07-10journal: introduce sd_journal_wait() to simplify writing synchronous clientsLennart Poettering
2012-07-02journalctl: add new switch -b to show data from current boot onlyLennart Poettering
2012-06-17journal: expose and make use of cutoff times of journalLennart Poettering
This helps explaining when the log output of "systemctl status" is incomplete because the logs got rotated since the service was started.