Searched refs:journal (Results 1 - 16 of 16) sorted by relevance

/systemd/tmpfiles.d/
H A Dsystemd-remote.conf10 d /var/lib/systemd/journal-upload 0755 systemd-journal-upload systemd-journal-upload - -
12 z /var/log/journal/remote 2755 systemd-journal-remote systemd-journal-remote - -
13 z /run/log/journal/remote 2755 systemd-journal-remote systemd-journal-remote - -
H A Djournal-nocow.conf10 # Set the NOCOW attribute for directories of journal files. This flag
14 # WARNING: Enabling the NOCOW attribute improves journal performance
21 # enabling the NOCOW attribute for journal files is safe, because
25 h /var/log/journal - - - - +C
26 h /var/log/journal/%m - - - - +C
27 h /var/log/journal/remote - - - - +C
/systemd/src/journal-remote/
H A Djournal-remote-write.c21 #include "journal-remote.h"
62 log_error_errno(r, "Failed to create rotated journal: %m");
93 if (w->journal) {
94 log_debug("Closing journal file %s.", w->journal->path);
95 journal_file_close(w->journal);
136 if (journal_file_rotate_suggested(w->journal, 0)) {
138 w->journal->path);
139 r = do_rotate(&w->journal, compress, seal);
144 r = journal_file_append_entry(w->journal, t
[all...]
H A Djournal-upload-journal.c24 #include "journal-upload.h"
45 r = sd_journal_get_cursor(u->journal, &u->current_cursor);
69 r = sd_journal_get_realtime_usec(u->journal, &realtime);
94 r = sd_journal_get_monotonic_usec(u->journal, &monotonic, &boot_id);
119 r = sd_journal_get_monotonic_usec(u->journal, NULL, &boot_id);
143 r = sd_journal_enumerate_data(u->journal,
255 j = u->journal;
261 log_error_errno(r, "Failed to move to next entry in journal: %m");
265 log_debug("No more entries, waiting for journal.");
267 log_info("No more entries, closing journal
[all...]
H A Djournal-remote-write.h23 #include "journal-file.h"
39 JournalFile *journal; member in struct:Writer
H A Djournal-upload.h6 #include "sd-journal.h"
39 /* journal stuff */
40 sd_journal* journal; member in struct:Uploader
H A Djournal-gatewayd.c32 #include "sd-journal.h"
53 sd_journal *journal; member in struct:RequestMeta
78 [OUTPUT_EXPORT] = "application/vnd.fdo.journal",
107 sd_journal_close(m->journal);
118 if (m->journal)
121 return sd_journal_open(&m->journal, SD_JOURNAL_LOCAL_ONLY|SD_JOURNAL_SYSTEM);
172 r = sd_journal_previous_skip(m->journal, (uint64_t) -m->n_skip + 1);
174 r = sd_journal_next_skip(m->journal, (uint64_t) m->n_skip + 1);
176 r = sd_journal_next(m->journal);
179 log_error_errno(r, "Failed to advance journal pointe
[all...]
H A Djournal-remote.c42 #include "journal-file.h"
43 #include "journal-remote-write.h"
44 #include "journal-remote.h"
56 #define REMOTE_JOURNAL_PATH "/var/log/journal/remote"
58 #define PRIV_KEY_FILE CERTIFICATE_ROOT "/private/journal-remote.pem"
59 #define CERT_FILE CERTIFICATE_ROOT "/certs/journal-remote.pem"
139 "-HAccept: application/vnd.fdo.journal",
176 output = arg_output ?: REMOTE_JOURNAL_PATH "/remote.journal";
188 r = asprintf(&_output, "%s/remote-%s.journal",
207 NULL, &w->journal);
[all...]
H A Djournal-upload.c35 #include "journal-upload.h"
44 #define PRIV_KEY_FILE CERTIFICATE_ROOT "/private/journal-upload.pem"
45 #define CERT_FILE CERTIFICATE_ROOT "/certs/journal-upload.pem"
67 #define STATE_FILE "/var/lib/systemd/journal-upload/state"
197 h = curl_slist_append(NULL, "Content-Type: application/vnd.fdo.journal");
255 "systemd-journal-upload " PACKAGE_STRING,
542 return config_parse_many(PKGSYSCONFDIR "/journal-upload.conf",
543 CONF_PATHS_NULSTR("systemd/journal-upload.conf.d"),
550 "Upload journal events to a remote server.\n\n"
561 " --system Use the system journal\
[all...]
/systemd/test/TEST-04-JOURNAL/
H A Dtest.sh14 cp -a $TESTDIR/root/var/log/journal $TESTDIR
17 ls -l $TESTDIR/journal/*/*.journal
56 ExecStart=/test-journal.sh
69 cp test-journal.sh $initdir/
/systemd/test/TEST-03-JOBS/
H A Dtest.sh14 cp -a $TESTDIR/root/var/log/journal $TESTDIR
17 ls -l $TESTDIR/journal/*/*.journal
/systemd/test/TEST-05-RLIMITS/
H A Dtest.sh14 cp -a $TESTDIR/root/var/log/journal $TESTDIR
17 ls -l $TESTDIR/journal/*/*.journal
/systemd/test/TEST-01-BASIC/
H A Dtest.sh14 cp -a $TESTDIR/root/var/log/journal $TESTDIR
17 ls -l $TESTDIR/journal/*/*.journal
66 ln -s /dev/null $initdir/etc/systemd/system/systemd-journal-catalog-update.service
/systemd/test/TEST-02-CRYPTSETUP/
H A Dtest.sh16 cp -a $TESTDIR/root/var/log/journal $TESTDIR
21 ls -l $TESTDIR/journal/*/*.journal
/systemd/test/TEST-06-SELINUX/
H A Dtest.sh21 cp -a $TESTDIR/root/var/log/journal $TESTDIR
24 ls -l $TESTDIR/journal/*/*.journal
120 ln -s /dev/null $initdir/etc/systemd/system/systemd-journal-catalog-update.service
/systemd/test/
H A Dtest-functions251 cp -a $TESTDIR/nspawn-root/var/log/journal $TESTDIR
253 ls -l $TESTDIR/journal/*/*.journal
439 mkdir -p $initdir/var/log/journal

Completed in 24 milliseconds