chiark / gitweb /
log: make internal log api log directly to the journal
[elogind.git] / src / journal / journald.h
index 3da57c50cadf8e04e0758a107d3bb243a9f445e1..6160991ed8827a05e0e42b57d819be3892fb4355 100644 (file)
@@ -40,6 +40,7 @@ typedef struct Server {
         int syslog_fd;
         int native_fd;
         int stdout_fd;
+        int proc_kmsg_fd;
 
         JournalFile *runtime_journal;
         JournalFile *system_journal;
@@ -63,11 +64,18 @@ typedef struct Server {
         bool forward_to_syslog;
         bool forward_to_console;
 
+        bool import_proc_kmsg;
+        char proc_kmsg_buffer[LINE_MAX+1];
+        size_t proc_kmsg_length;
+
         uint64_t cached_available_space;
         usec_t cached_available_space_timestamp;
 
         uint64_t var_available_timestamp;
 
+        gid_t file_gid;
+        bool file_gid_valid;
+
         LIST_HEAD(StdoutStream, stdout_streams);
         unsigned n_stdout_streams;
 } Server;