summaryrefslogtreecommitdiff
path: root/src/journal/journalctl.c
AgeCommit message (Collapse)Author
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.
2012-05-30journalctl: check first if match is a path nameLennart Poettering
2012-05-30journalctl: support /usr/bin/nginx, etcShawn Landden
2012-05-21journalctl: fix built-in usage outputDaniel Mack
This brings journalctl's built-in usage output in sync with the man page. There are no commands to pass, and the help screen should not confuse users.
2012-04-12relicense to LGPLv2.1 (with exceptions)Lennart Poettering
We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
2012-03-27journalctl: add --local switchLennart Poettering
2012-03-16man: document systemd-journalctl(1)Lennart Poettering
2012-03-15a couple of fixes to make llvm-analyze quietLennart Poettering
2012-03-15journalctl: add a missing 'break'Tero Roponen
There is a 'break' missing in the -q handling so, for example, 'systemd-journalctl --new-id128 -q' does nothing. This patch fixes the problem.
2012-03-15journalctl: suppress messages about adm group if ACL support is not enabledLennart Poettering
2012-03-14journalctl: warn if the user is not in the adm groupLennart Poettering
2012-01-22cgtop: add new cgtop toolLennart Poettering
2012-01-18journalctl: properly honour -n when -f is passed, tooLennart Poettering
2012-01-13journal: add output mode that just prints simple messages without any ↵Lennart Poettering
decorations
2012-01-11journalctl: fix --help textLennart Poettering
2012-01-07journalctl: add new short-monotonic output modeLennart Poettering
2012-01-07journalctl: rename --new-id to --new-id128 in order not to introduce yet ↵Lennart Poettering
another new name
2012-01-05journalctl: add --new-id switch to generate a new 128Bit idLennart Poettering
2012-01-05build-sys: move public header files into a dir of their ownLennart Poettering
2012-01-04journal: beef up journal output of systemctl and journalctlLennart Poettering
2012-01-04journalctl: only output 10 most recent lines in --follow modeLennart Poettering
2012-01-04journalctl: fix counting of -n parameterLennart Poettering
2012-01-04journalctl: add -n switchLennart Poettering
2012-01-03systemctl: hook up systemctl with the journalLennart Poettering
2011-12-30journal: disable default debug loggingLennart Poettering
2011-12-29journald: flush /run to /var as soon as it becomes availableLennart Poettering
2011-12-21journalctl: add command line parsingLennart Poettering
2011-12-21journalctl: add json, export, short and verbose output modesLennart Poettering
2011-12-19journal: implement inotify-based live logging logicLennart Poettering
2011-11-08journal: implement multiple field matchesLennart Poettering
2011-10-15journal: implement seek to head/tailLennart Poettering
2011-10-15journal: properly implement matching with multiple matchesLennart Poettering
2011-10-14journal: synchronize seqnum across filesLennart Poettering
2011-10-14journal: implement parallel file traversalLennart Poettering