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