summaryrefslogtreecommitdiff
path: root/src/log.c
Commit message (Collapse)AuthorAge
* util: move all to shared/ and split external dependencies in separate ↵Kay Sievers2012-04-10
| | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* logind: log with AUTH facilityLennart Poettering2012-04-03
|
* fix a couple of AF_UNIX connect() callsLennart Poettering2012-04-03
|
* log: introduce log_metavLennart Poettering2012-03-14
|
* fix sparse warningsFrederic Crozat2012-03-05
|
* log: increase socket buffers for logging by defaultLennart Poettering2012-01-27
|
* log: never delay logging if the log server is stuck, always drop messages ↵Lennart Poettering2012-01-27
| | | | quickly
* log: move #pragma around the functionMichal Schmidt2012-01-19
| | | | | | Koen reported errors with gcc 4.5.4 for arm: src/log.c:624:9: error: #pragma GCC diagnostic not allowed inside functions
* log: make asserts cheaperMichal Schmidt2012-01-17
| | | | On my x86_64 this shrinks the size of .text by 53 KB (7 %).
* log: remove useless variableMichal Schmidt2012-01-17
| | | | abort() never returns. Not even if the signal handler catches SIGABRT.
* util: rework ANSI escape code macrosLennart Poettering2012-01-14
|
* log: make internal log api log directly to the journalLennart Poettering2012-01-12
|
* log: minor optimizationLennart Poettering2012-01-05
|
* log: never block on syslog in PID 1Michal Schmidt2011-12-20
| | | | | | Use a non-blocking syslog socket if logging from PID 1. If sendmsg fails with EAGAIN, fall back to kmsg or console only for the current message. Next message will try syslog again.
* execute: avoid logging to closed fdsMichal Schmidt2011-11-16
| | | | | | | | | | 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.
* selinux: log how much time it takes to load the SELinux policy and databaseLennart Poettering2011-07-25
|
* don't make up buffer sizes, use standard LINE_MAX insteadLennart Poettering2011-04-07
|
* log: fix shifting of facilitiesLennart Poettering2011-03-31
|
* log: don't strip facility when writing to kmsgLennart Poettering2011-03-31
|
* Spelling CorrectionsHarald Hoyer2011-02-28
| | | | Just some lame spelling corrections with no functionality.
* log: fix buildLennart Poettering2010-11-12
|
* log: add automatic log targetLennart Poettering2010-11-12
|
* log: downgrade syslog connection failure message since it might happen ↵Lennart Poettering2010-11-10
| | | | during normal operation
* log: reopen console so that we have logging on shutdownLennart Poettering2010-10-20
|
* fix typo: s/seperat/separat/gDave Reisner2010-10-05
|
* log: support logging into SOCK_STREAM /dev/log sockets for comaptibility ↵Lennart Poettering2010-09-08
| | | | with syslog-ng
* log: SCM_CREDENTIALS will be added by the kernel anyway, so there's no need ↵Lennart Poettering2010-08-25
| | | | to write them manually
* syslog: add minimal syslog/kmsg bridge syslogdLennart Poettering2010-08-21
|
* log: pass SCM_CREDENTIALS when logging to syslogLennart Poettering2010-08-21
|
* log: print at to one target at maxLennart Poettering2010-08-17
|
* log: properly open log target in the various utilitiesLennart Poettering2010-08-16
|
* emacs: make sure nobody accidently adds tabs to our sourcesLennart Poettering2010-08-14
|
* pam: remove only sessions we ourselves created in the first placeLennart Poettering2010-07-21
|
* systemctl: implement 'status' commandLennart Poettering2010-07-05
|
* log: unify log env var prefixLennart Poettering2010-06-24
|
* don't use 'long long' unless we have a really good reason toLennart Poettering2010-06-19
|
* log: make color/location logging optionalLennart Poettering2010-06-17
|
* service: optionally call into PAM when dropping priviligesLennart Poettering2010-06-16
|
* log: don't open log targets too earlyLennart Poettering2010-06-11
|
* log: add null log targetLennart Poettering2010-06-09
|
* manager: dump to usual debug channel on SIGUSR2, don't rely on stdinLennart Poettering2010-06-04
|
* macro: avoid name clash with _unused on ppcLennart Poettering2010-06-02
|
* log: handle multi-line log messages properlyLennart Poettering2010-05-21
|
* log: never close file descriptors < 3Lennart Poettering2010-05-18
|
* build-sys: move source files to subdirectoryLennart Poettering2010-05-16