summaryrefslogtreecommitdiff
path: root/src/journal
AgeCommit message (Collapse)Author
2012-08-09journalctl: support device node matches as shortcutLennart Poettering
2012-08-09journald: properly unescape messages from /dev/kmsgLennart Poettering
2012-08-09journald: also parse kernel key/value fields and store them prefixed with ↵Lennart Poettering
_KERNEL_ as journal fields
2012-08-09journald: basic support for /dev/kmsg parsingLennart Poettering
2012-08-08fix a couple of issues found with llvm-analyzeLennart Poettering
2012-08-08build-sys: prepare release 188systemd/v188Lennart Poettering
2012-08-07journalctl: include corrupted files in outputLennart Poettering
If a journal file was rotated away because it was corrupted or dirty we should still show its contents via "journalctl".
2012-08-03test: allow deletion of temporary files from normal fsZbigniew Jędrzejewski-Szmek
Not everybody has /tmp on tmpfs, and this was breaking 'make check'.
2012-08-01journal: add sd_journal_perror() to APILennart Poettering
2012-07-31journald: fixed memory leakArtur Zaprzala
2012-07-27journalctl: add --priority= switch for filtering by priorityLennart Poettering
2012-07-26journald: log driver messages at LOG_INFOLennart 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-19journald: upgrade signal reception message to INFOLennart Poettering
2012-07-19use #pragma once instead of foo*foo #define guardsShawn Landden
#pragma once has been "un-deprecated" in gcc since 3.3, and is widely supported in other compilers. I've been using and maintaining (rebasing) this patch for a while now, as it annoyed me to see #ifndef fooblahfoo, etc all over the place, almost arrogant about the annoyance of having to define all these names to perform a commen but neccicary functionality, when a completely superior alternative exists. I havn't sent it till now, cause its kindof a style change, and it is bad voodoo to mess with style that has been established by more established editors. So feel free to lambast me as a crazy bafoon. v2 - preserve externally used headers
2012-07-19journal: allow watching symlinked journal dirsLennart Poettering
2012-07-19journal: when watching directories actually watch the directories asked forLennart Poettering
2012-07-19journal: rotate busy files away when we try to write to themLennart Poettering
2012-07-19journal: follow symlinks when enumerating journalsLennart Poettering
2012-07-19journald: don't choke on journal files with no cutoff dateLennart Poettering
2012-07-18journal: remove all of /run/log/journal when serializing, since the machine ↵Lennart Poettering
ID might deviate
2012-07-18journal: don't complain if the syslog forwarder socket doesn't existLennart Poettering
2012-07-18journal: when we suggest a rotation, explain whyLennart Poettering
2012-07-18journal: estimate data hash table size a bit larger by defaultLennart Poettering
2012-07-18journald: fix another bad memory accessLennart Poettering
If we rotate due to header out of date we need the new journal file object, too.
2012-07-18journald: fix bad memory accessLennart Poettering
After vacuuming we need to retrieve the journal file object again, since it might have changed.
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: actually set archived files to archived stateLennart Poettering
2012-07-17journalctl: decode more header files in --headerLennart Poettering
2012-07-17journal: size journal data hash table based on maximum file size metricsLennart Poettering
The default of 2047 hash table entries turned out to result in way too many collisions for bigger files, hence scale the hash table size by the estimated maximum file size.
2012-07-17journal: immediately rotate when the journal was previously not closed properlyLennart Poettering
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-16journal: use tail/head timestamps from header for cutoff logicLennart Poettering
We have them, they are faster to use them, so use them...
2012-07-16journald: don't enforce monotonicity of realtime clocks when copying entriesLennart Poettering
After all the point of the realtime clock (in contrast to the monotonic clock) is that it does not have to be strictly monotonic, hence don't enforce this when flushing the journal from /run to /var.
2012-07-16Spelling fixes.Ville Skyttä
2012-07-15journal: align byte-buffer that gets cased to an objectKay Sievers
On Sun, Jul 15, 2012 at 2:00 PM, Koen Kooi <koen@dominion.thruhere.net> wrote: > | src/journal/sd-journal.c: In function 'sd_journal_process': > | src/journal/sd-journal.c:1891:21: warning: cast increases required alignment of target type [-Wcast-align] > | src/journal/sd-journal.c:1900:29: warning: cast increases required alignment of target type [-Wcast-align]
2012-07-15journal: avoid re-definition of enums for older gcc versionsKay Sievers
On Sun, Jul 15, 2012 at 2:00 PM, Koen Kooi <koen@dominion.thruhere.net> wrote: > | In file included from src/journal/sd-journal.c:37:0: > | src/journal/journal-internal.h:47:3: error: redefinition of typedef 'MatchType' > | src/journal/journal-internal.h:36:24: note: previous declaration of 'MatchType' was here > | src/journal/journal-internal.h:67:3: error: redefinition of typedef 'LocationType' > | src/journal/journal-internal.h:37:27: note: previous declaration of 'LocationType' was here
2012-07-13test: hook up more tests with make checkLennart Poettering
2012-07-13util: rename join() to strjoin()Lennart Poettering
This is to match strappend() and the other string related functions.
2012-07-13journal: properly export sd_journal_add_disjunction()Lennart Poettering
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-13journal: check fields we search for more carefullyLennart Poettering
2012-07-13journal: fix seeking by realtime/seqnumLennart Poettering
2012-07-13journal: fix bad memory accessLennart Poettering
2012-07-13journal: fix bisection logic for first entryLennart Poettering
2012-07-13journal: fix interleaving of files with different time sourcesLennart Poettering