Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-07-17 | journal: actually set archived files to archived state | Lennart Poettering | |
2012-07-17 | journalctl: decode more header files in --header | Lennart Poettering | |
2012-07-17 | journal: size journal data hash table based on maximum file size metrics | Lennart 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-17 | journal: immediately rotate when the journal was previously not closed properly | Lennart Poettering | |
2012-07-17 | journal: 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-16 | journal: use tail/head timestamps from header for cutoff logic | Lennart Poettering | |
We have them, they are faster to use them, so use them... | |||
2012-07-16 | journald: don't enforce monotonicity of realtime clocks when copying entries | Lennart 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-16 | Spelling fixes. | Ville Skyttä | |
2012-07-15 | journal: align byte-buffer that gets cased to an object | Kay 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-15 | journal: avoid re-definition of enums for older gcc versions | Kay 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-13 | test: hook up more tests with make check | Lennart Poettering | |
2012-07-13 | util: rename join() to strjoin() | Lennart Poettering | |
This is to match strappend() and the other string related functions. | |||
2012-07-13 | journal: properly export sd_journal_add_disjunction() | Lennart Poettering | |
2012-07-13 | journal: beef up journal matches considerably | Lennart 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-13 | journal: check fields we search for more carefully | Lennart Poettering | |
2012-07-13 | journal: fix seeking by realtime/seqnum | Lennart Poettering | |
2012-07-13 | journal: fix bad memory access | Lennart Poettering | |
2012-07-13 | journal: fix bisection logic for first entry | Lennart Poettering | |
2012-07-13 | journal: fix interleaving of files with different time sources | Lennart Poettering | |
2012-07-11 | journal: replace implicit flushing of journal by explicit one | Lennart Poettering | |
The old automatism that the flushing of the journal from /run to /var was triggered by the appearance of /var/log/journal is broken if that directory is mounted from another host and hence always available to be useful as mount point. To avoid probelsm with this, introduce a new unit that is explicitly orderer after all mounte files systems and triggers the flushing. | |||
2012-07-11 | journalctl: add a marker to log output for reboots | Lennart Poettering | |
With this we'll print a marker "----- Reboot -----" between two subsequent lines with different boot IDs. | |||
2012-07-11 | journal: rework directory enumeration/watch logic | Lennart 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-10 | journal: introduce sd_journal_wait() to simplify writing synchronous clients | Lennart Poettering | |
2012-07-10 | journald: use "persistent", not "permanent" as storage option | Lennart Poettering | |
"permanent" is simply the wrong term and we use "persistant" in most other contexts to correct this. | |||
2012-07-09 | paranoia: refuse rm_rf("/") | Lennart Poettering | |
2012-07-03 | journal: default ImportKernel=no until we make use of structured logging | Lennart Poettering | |
2012-07-03 | journal: move Storage=auto stanza to right file | Lennart Poettering | |
2012-07-03 | journald: handle /proc/kmsg reads returning 0 more nicely | Lennart Poettering | |
2012-07-03 | journal: fix iteration through journal if one file is corrupt | Lennart Poettering | |
2012-07-02 | journald: add Storage= setting to control where the journal is stored | Lennart Poettering | |
2012-07-02 | journalctl: add new switch -b to show data from current boot only | Lennart Poettering | |
2012-06-22 | cryptsetup: allow configuration of LUKS disks via the kernel cmdline | Lennart Poettering | |
This generalizes a bit of the functionality already available in dracut. | |||
2012-06-22 | man: document all kernel command line options we understand | Lennart Poettering | |
2012-06-22 | journal: fix sd_journal_stream_fd() | Lennart Poettering | |
2012-06-22 | journal: set the _SYSTEMD_UNIT field for messages from terminated processes | Eelco Dolstra | |
As described in https://bugs.freedesktop.org/show_bug.cgi?id=50184 the journal currently doesn't set fields such as _SYSTEMD_UNIT properly for messages coming from processes that have already terminated. This means among other things that "systemctl status" may not show some of the output of services that wrote messages just before they exited. This patch fixes this by having processes that log to the journal write their unit identifier to journald when the connection to /run/systemd/journal/stdout is opened. Journald stores the unit ID and uses it to fill in _SYSTEMD_UNIT when it cannot be obtained normally (i.e. from the cgroup). To prevent impersonating another unit, this information is only used when the caller is root. This doesn't fix the general problem of getting metadata about messages from terminated processes (which requires some kernel support), but it allows "systemctl status" and similar queries to do the Right Thing for units that log via stdout/stderr. | |||
2012-06-17 | journal: fix monotonic seeking | Lennart Poettering | |
2012-06-17 | journal: rotate on SIGUSR2 | Lennart Poettering | |
2012-06-17 | journal: fix SD_JOURNAL_SYSTEM_ONLY flag | Lennart Poettering | |
2012-06-17 | journal: expose and make use of cutoff times of journal | Lennart Poettering | |
This helps explaining when the log output of "systemctl status" is incomplete because the logs got rotated since the service was started. | |||
2012-06-17 | journal: correct list link up on hash collisions | Lennart Poettering | |
2012-06-17 | journal: add basic object definition for signatures | Lennart Poettering | |
2012-06-17 | journal: replace arena offset by header size | Lennart Poettering | |
2012-06-12 | journal-file: fix mmap leak | Michal Schmidt | |
https://bugzilla.redhat.com/show_bug.cgi?id=831132 | |||
2012-06-01 | journal: allow setting of a cutoff log level for disk storage, syslog, kmsg, ↵ | Lennart Poettering | |
console forwarding | |||
2012-06-01 | journal: support changing the console tty to forward to | Lennart Poettering | |
2012-05-31 | mkdir: append _label to all mkdir() calls that explicitly set the selinux ↵ | Kay Sievers | |
context | |||
2012-05-31 | journald: properly handle if we have no PID in a kmsg line | Lennart Poettering | |
2012-05-30 | journal: don't allow adding invalid matches to the context | Lennart Poettering | |
2012-05-30 | journalctl: check first if match is a path name | Lennart Poettering | |
2012-05-30 | journalctl: support /usr/bin/nginx, etc | Shawn Landden | |