summaryrefslogtreecommitdiff
path: root/src/log.c
AgeCommit message (Collapse)Author
2012-03-05fix sparse warningsFrederic Crozat
2012-01-27log: increase socket buffers for logging by defaultLennart Poettering
2012-01-27log: never delay logging if the log server is stuck, always drop messages ↵Lennart Poettering
quickly
2012-01-19log: move #pragma around the functionMichal Schmidt
Koen reported errors with gcc 4.5.4 for arm: src/log.c:624:9: error: #pragma GCC diagnostic not allowed inside functions
2012-01-17log: make asserts cheaperMichal Schmidt
On my x86_64 this shrinks the size of .text by 53 KB (7 %).
2012-01-17log: remove useless variableMichal Schmidt
abort() never returns. Not even if the signal handler catches SIGABRT.
2012-01-14util: rework ANSI escape code macrosLennart Poettering
2012-01-12log: make internal log api log directly to the journalLennart Poettering
2012-01-05log: minor optimizationLennart Poettering
2011-12-20log: never block on syslog in PID 1Michal Schmidt
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.
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
2011-04-07don't make up buffer sizes, use standard LINE_MAX insteadLennart Poettering
2011-03-31log: fix shifting of facilitiesLennart Poettering
2011-03-31log: don't strip facility when writing to kmsgLennart Poettering
2011-02-28Spelling CorrectionsHarald Hoyer
Just some lame spelling corrections with no functionality.
2010-11-12log: fix buildLennart Poettering
2010-11-12log: add automatic log targetLennart Poettering
2010-11-10log: downgrade syslog connection failure message since it might happen ↵Lennart Poettering
during normal operation
2010-10-20log: reopen console so that we have logging on shutdownLennart Poettering
2010-10-05fix typo: s/seperat/separat/gDave Reisner
2010-09-08log: support logging into SOCK_STREAM /dev/log sockets for comaptibility ↵Lennart Poettering
with syslog-ng
2010-08-25log: SCM_CREDENTIALS will be added by the kernel anyway, so there's no need ↵Lennart Poettering
to write them manually
2010-08-21syslog: add minimal syslog/kmsg bridge syslogdLennart Poettering
2010-08-21log: pass SCM_CREDENTIALS when logging to syslogLennart Poettering
2010-08-17log: print at to one target at maxLennart Poettering
2010-08-16log: properly open log target in the various utilitiesLennart Poettering
2010-08-14emacs: make sure nobody accidently adds tabs to our sourcesLennart Poettering
2010-07-21pam: remove only sessions we ourselves created in the first placeLennart Poettering
2010-07-05systemctl: implement 'status' commandLennart Poettering
2010-06-24log: unify log env var prefixLennart Poettering
2010-06-19don't use 'long long' unless we have a really good reason toLennart Poettering
2010-06-17log: make color/location logging optionalLennart Poettering
2010-06-16service: optionally call into PAM when dropping priviligesLennart Poettering
2010-06-11log: don't open log targets too earlyLennart 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-21log: handle multi-line log messages properlyLennart Poettering
2010-05-18log: never close file descriptors < 3Lennart Poettering
2010-05-16build-sys: move source files to subdirectoryLennart Poettering