summaryrefslogtreecommitdiff
path: root/src/journal/journald.c
AgeCommit message (Collapse)Author
2012-09-10journald: don't do debug logging by defaultLennart Poettering
2012-09-07journald: make splitting up of journal files per-user configurableLennart Poettering
2012-09-06journald: avoid logging to kmsg in the normal pathsLennart Poettering
2012-08-22journalctl: complain if unprivileged users attempt to access the journal and ↵Lennart Poettering
persistant logging is off
2012-08-22journal: the ratelimiter is part of journaldLennart Poettering
2012-08-22journald: split off native protocol support into its own .c fileLennart Poettering
2012-08-22journald: split console transport stuff into its own fileLennart Poettering
2012-08-22journald: move stream protocol into its own .c fileLennart Poettering
2012-08-22journald: splitt of syslog protocol support into its own fileLennart Poettering
2012-08-22journald: split /dev/kmsg related stuff into its own .c fileLennart Poettering
2012-08-22journald: write tags also to user journal filesLennart Poettering
2012-08-22journald: augment journal entries from the kernel with data from udevLennart Poettering
2012-08-21journal: properly handle EPIPE from /dev/kmsgLennart Poettering
2012-08-21journal: automatically evolve FSS key even when nothing is loggedLennart Poettering
2012-08-20journald: add new Seal= configuration optionLennart Poettering
2012-08-18mmap: resize arrays dynamicallyLennart Poettering
2012-08-16journal: split up journal-file.cLennart Poettering
2012-08-16journal: add superficial structure verifierLennart Poettering
2012-08-16journal: implement generic sharable mmap caching logicLennart 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-13journald: initial version of FSPRG hookupLennart 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-09journald: never read the same kernel msg twice, and generate message when we ↵Lennart Poettering
lose one
2012-08-09journald: properly unescape messages from /dev/kmsgLennart Poettering
2012-08-09journald: also parse kernel key/value fields and store them prefixed with ↵Lennart Poettering
_KERNEL_ as journal fields
2012-08-09journald: basic support for /dev/kmsg parsingLennart Poettering
2012-07-31journald: fixed memory leakArtur Zaprzala
2012-07-26journald: log driver messages at LOG_INFOLennart Poettering
2012-07-26log.h: new log_oom() -> int -ENOMEM, use itShawn 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-25use "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-19journald: upgrade signal reception message to INFOLennart Poettering
2012-07-18journal: remove all of /run/log/journal when serializing, since the machine ↵Lennart Poettering
ID might deviate
2012-07-18journal: don't complain if the syslog forwarder socket doesn't existLennart Poettering
2012-07-18journald: fix another bad memory accessLennart Poettering
If we rotate due to header out of date we need the new journal file object, too.
2012-07-18journald: fix bad memory accessLennart Poettering
After vacuuming we need to retrieve the journal file object again, since it might have changed.
2012-07-17journal: size journal data hash table based on maximum file size metricsLennart Poettering
The default of 2047 hash table entries turned out to result in way too many collisions for bigger files, hence scale the hash table size by the estimated maximum file size.
2012-07-17journal: immediately rotate when the journal was previously not closed properlyLennart Poettering
2012-07-17journal: automatically rotate journal files if the data hash table is full > 75%Lennart Poettering
Previously, when the main data hash table grows too full the performance simply started to decrease drastically. Instead, now simply rotate to a new journal file as the hash table gets to full, so that we can start with a new fresh empty hash table.
2012-07-13util: rename join() to strjoin()Lennart Poettering
This is to match strappend() and the other string related functions.
2012-07-11journal: replace implicit flushing of journal by explicit oneLennart Poettering
The old automatism that the flushing of the journal from /run to /var was triggered by the appearance of /var/log/journal is broken if that directory is mounted from another host and hence always available to be useful as mount point. To avoid probelsm with this, introduce a new unit that is explicitly orderer after all mounte files systems and triggers the flushing.
2012-07-10journald: use "persistent", not "permanent" as storage optionLennart Poettering
"permanent" is simply the wrong term and we use "persistant" in most other contexts to correct this.
2012-07-09paranoia: refuse rm_rf("/")Lennart Poettering
2012-07-03journal: default ImportKernel=no until we make use of structured loggingLennart Poettering
2012-07-03journald: handle /proc/kmsg reads returning 0 more nicelyLennart Poettering
2012-07-02journald: add Storage= setting to control where the journal is storedLennart Poettering
2012-06-22cryptsetup: allow configuration of LUKS disks via the kernel cmdlineLennart Poettering
This generalizes a bit of the functionality already available in dracut.
2012-06-22man: document all kernel command line options we understandLennart Poettering
2012-06-22journal: fix sd_journal_stream_fd()Lennart Poettering
2012-06-22journal: set the _SYSTEMD_UNIT field for messages from terminated processesEelco Dolstra
As described in https://bugs.freedesktop.org/show_bug.cgi?id=50184 the journal currently doesn't set fields such as _SYSTEMD_UNIT properly for messages coming from processes that have already terminated. This means among other things that "systemctl status" may not show some of the output of services that wrote messages just before they exited. This patch fixes this by having processes that log to the journal write their unit identifier to journald when the connection to /run/systemd/journal/stdout is opened. Journald stores the unit ID and uses it to fill in _SYSTEMD_UNIT when it cannot be obtained normally (i.e. from the cgroup). To prevent impersonating another unit, this information is only used when the caller is root. This doesn't fix the general problem of getting metadata about messages from terminated processes (which requires some kernel support), but it allows "systemctl status" and similar queries to do the Right Thing for units that log via stdout/stderr.
2012-06-17journal: rotate on SIGUSR2Lennart Poettering
2012-06-01journal: allow setting of a cutoff log level for disk storage, syslog, kmsg, ↵Lennart Poettering
console forwarding
2012-06-01journal: support changing the console tty to forward toLennart Poettering