summaryrefslogtreecommitdiff
path: root/src/log.h
AgeCommit message (Collapse)Author
2012-04-10util: move all to shared/ and split external dependencies in separate ↵Kay Sievers
internal libraries Before: $ ldd /lib/systemd/systemd-timestamp linux-vdso.so.1 => (0x00007fffb05ff000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f90aac57000) libcap.so.2 => /lib64/libcap.so.2 (0x00007f90aaa53000) librt.so.1 => /lib64/librt.so.1 (0x00007f90aa84a000) libc.so.6 => /lib64/libc.so.6 (0x00007f90aa494000) /lib64/ld-linux-x86-64.so.2 (0x00007f90aae90000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f90aa290000) libattr.so.1 => /lib64/libattr.so.1 (0x00007f90aa08a000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f90a9e6e000) After: $ ldd systemd-timestamp linux-vdso.so.1 => (0x00007fff3cbff000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f5eaa1c3000) librt.so.1 => /lib64/librt.so.1 (0x00007f5ea9fbb000) libc.so.6 => /lib64/libc.so.6 (0x00007f5ea9c04000) /lib64/ld-linux-x86-64.so.2 (0x00007f5eaa3fc000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f5ea9a00000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5ea97e4000)
2012-04-03logind: log with AUTH facilityLennart Poettering
2012-04-02journal: implicitly add code location to all messages logged with the native ↵Lennart Poettering
interface This logic can be turned off by defining SD_JOURNAL_SUPPRESS_LOCATION before including sd-journal.h. This also saves/restores errno in all logging functions, in order to be useful as logging calls without side-effects. This also adds a couple of __unlikely__ around the early checks in the logging calls, in order to minimize the runtime impact.
2012-03-14log: introduce log_metavLennart Poettering
2012-01-17log: make asserts cheaperMichal Schmidt
On my x86_64 this shrinks the size of .text by 53 KB (7 %).
2012-01-12log: make internal log api log directly to the journalLennart Poettering
2011-11-16execute: avoid logging to closed fdsMichal Schmidt
Several functions called from the "sd(EXEC)" process try to log messages when all the file descriptors are already closed, including the logging ones. The logging functions do not expect their fds to be closed and they hit an assertion failure. The failure wants to be logged too, so there is an infinite recursion, ended by a SIGSEGV. When we close all fds, we must let log.c know about it.
2011-07-25selinux: log how much time it takes to load the SELinux policy and databaseLennart Poettering
2010-11-12log: add automatic log targetLennart Poettering
2010-08-17emacs: disable tabs in .h files, tooLennart Poettering
2010-07-17execute: bump up log level of executed processes that failedLennart Poettering
2010-06-17log: make color/location logging optionalLennart Poettering
2010-06-09log: add null log targetLennart Poettering
2010-06-04manager: dump to usual debug channel on SIGUSR2, don't rely on stdinLennart Poettering
2010-06-02macro: avoid name clash with _unused on ppcLennart Poettering
2010-05-16build-sys: move source files to subdirectoryLennart Poettering