Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-28 | treewide: no need to negate errno for log_*_errno() | Michal Schmidt | |
It corrrectly handles both positive and negative errno values. | |||
2014-11-28 | treewide: auto-convert the simple cases to log_*_errno() | Michal Schmidt | |
As a followup to 086891e5c1 "log: add an "error" parameter to all low-level logging calls and intrdouce log_error_errno() as log calls that take error numbers", use sed to convert the simple cases to use the new macros: find . -name '*.[ch]' | xargs sed -r -i -e \ 's/log_(debug|info|notice|warning|error|emergency)\("(.*)%s"(.*), strerror\(-([a-zA-Z_]+)\)\);/log_\1_errno(-\4, "\2%m"\3);/' Multi-line log_*() invocations are not covered. And we also should add log_unit_*_errno(). | |||
2014-08-21 | notify: send STOPPING=1 from our daemons | Lennart Poettering | |
2014-07-31 | Always prefer our headers to system headers | Zbigniew Jędrzejewski-Szmek | |
In practice this shouldn't make much difference, but sometimes our headers might be newer, and we want to test them. | |||
2014-07-29 | time-util: add and use USEC/NSEC_INFINIY | Kay Sievers | |
2014-05-15 | Remove unnecessary casts in printfs | Zbigniew Jędrzejewski-Szmek | |
No functional change expected :) | |||
2014-05-06 | journald: remove some dead code | Lennart Poettering | |
2014-03-17 | journald: remove stray reset of error return value | Zbigniew Jędrzejewski-Szmek | |
2013-12-22 | journal: when we shall go down do so cleanly | Lennart Poettering | |
2013-12-11 | journald: port to sd-event and enable watchdog support | Lennart Poettering | |
2013-03-23 | journald: remove unconditional log_*() use in the main loop | Kay Sievers | |
Setting MaxRetentionSec= caused the kernel log to overflow and the journal daemon to enter an endless loop. Logging from the journald main loop gets directed to /dev/kmsg, which wakes up journald again. We skip the import of this message by checking for our own PID, but this still causes the main loop to never go to sleep again because we never stopped logging from there. | |||
2012-11-14 | build-sys: store journald code in a noinst library | Zbigniew Jędrzejewski-Szmek | |
The point is to allow the use of journald functions by other binaries. Before, journald code was split into multiple files (journald-*.[ch]), but all those files all required functions from journald.c. And journald.c has its own main(). Now, it is possible to link against those functions, e.g. from test binaries. This constitutes a fix for https://bugzilla.redhat.com/show_bug.cgi?id=872638. The patch does the following: 1. rename journald.h to journald-server.h and move corresponding code to journald-server.c. 2. add journald-server.c and other journald-*.c parts to libsystemd-journal-internal. 3. remove journald-syslog.c from test_journal_syslog_SOURCES, since it is now contained in libsystemd-journal-internal. There are no code changes, apart from the removal of a few static's, to allow function calls between files. | |||
2012-10-16 | journal: implement time-based rotation/vacuuming | Lennart Poettering | |
This also enables time-based rotation (but not vacuuming) after 1month, so that not more one month of journal is lost at a time per vacuuming. | |||
2012-10-13 | log: introduce a macro to format message id | Zbigniew Jędrzejewski-Szmek | |
The MESSAGE_ID=... stanza will appear in countless number of places. It is just too long to write it out in full each time. Incidentally, this also fixes a typo of MESSSAGE is three places. | |||
2012-09-28 | journald: rework auto-rotation logic | Lennart Poettering | |
2012-09-28 | journald: close sd_journal context after flushing to /var | Lennart Poettering | |
2012-09-21 | journald: log how big the journal files may grow | Lennart Poettering | |
2012-09-19 | util: define union dirent_storage and make use of it everywhere | Lennart Poettering | |
Make sure to allocate enough space for readdir_r(). https://bugzilla.redhat.com/show_bug.cgi?id=858754 | |||
2012-09-17 | journald: log when we fail to forward messages to syslog | Lennart Poettering | |
https://bugzilla.redhat.com/show_bug.cgi?id=847207 | |||
2012-09-17 | journald: properly update perms on freshly rotate user journals | Lennart Poettering | |
2012-09-10 | journald: don't do debug logging by default | Lennart Poettering | |
2012-09-07 | journald: make splitting up of journal files per-user configurable | Lennart Poettering | |
2012-09-06 | journald: avoid logging to kmsg in the normal paths | Lennart Poettering | |
2012-08-22 | journalctl: complain if unprivileged users attempt to access the journal and ↵ | Lennart Poettering | |
persistant logging is off | |||
2012-08-22 | journal: the ratelimiter is part of journald | Lennart Poettering | |
2012-08-22 | journald: split off native protocol support into its own .c file | Lennart Poettering | |
2012-08-22 | journald: split console transport stuff into its own file | Lennart Poettering | |
2012-08-22 | journald: move stream protocol into its own .c file | Lennart Poettering | |
2012-08-22 | journald: splitt of syslog protocol support into its own file | Lennart Poettering | |
2012-08-22 | journald: split /dev/kmsg related stuff into its own .c file | Lennart Poettering | |
2012-08-22 | journald: write tags also to user journal files | Lennart Poettering | |
2012-08-22 | journald: augment journal entries from the kernel with data from udev | Lennart Poettering | |
2012-08-21 | journal: properly handle EPIPE from /dev/kmsg | Lennart Poettering | |
2012-08-21 | journal: automatically evolve FSS key even when nothing is logged | Lennart Poettering | |
2012-08-20 | journald: add new Seal= configuration option | Lennart Poettering | |
2012-08-18 | mmap: resize arrays dynamically | Lennart Poettering | |
2012-08-16 | journal: split up journal-file.c | Lennart Poettering | |
2012-08-16 | journal: add superficial structure verifier | Lennart Poettering | |
2012-08-16 | journal: implement generic sharable mmap caching logic | Lennart Poettering | |
instead of having one simple per-file cache implement an more comprehensive one that works for multiple files and can actually maintain multiple maps per file and per object type. | |||
2012-08-13 | journald: initial version of FSPRG hookup | Lennart 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-09 | journald: never read the same kernel msg twice, and generate message when we ↵ | Lennart Poettering | |
lose one | |||
2012-08-09 | journald: properly unescape messages from /dev/kmsg | Lennart Poettering | |
2012-08-09 | journald: also parse kernel key/value fields and store them prefixed with ↵ | Lennart Poettering | |
_KERNEL_ as journal fields | |||
2012-08-09 | journald: basic support for /dev/kmsg parsing | Lennart Poettering | |
2012-07-31 | journald: fixed memory leak | Artur Zaprzala | |
2012-07-26 | journald: log driver messages at LOG_INFO | Lennart Poettering | |
2012-07-26 | log.h: new log_oom() -> int -ENOMEM, use it | Shawn 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-25 | use "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-19 | journald: upgrade signal reception message to INFO | Lennart Poettering | |
2012-07-18 | journal: remove all of /run/log/journal when serializing, since the machine ↵ | Lennart Poettering | |
ID might deviate |