pull/276/head
sfeakes 2024-04-15 17:49:55 -05:00
parent 17b3f853a5
commit a98dcd62d3
2 changed files with 2 additions and 1 deletions

View File

@ -162,7 +162,8 @@ sd_journal *open_journal() {
// Below works for local
//if (sd_journal_open(&journal, SD_JOURNAL_LOCAL_ONLY) < 0)
// Desting Docker install
if (sd_journal_open(&journal, SD_JOURNAL_ALL_NAMESPACES) < 0)
//if (sd_journal_open(&journal, SD_JOURNAL_ALL_NAMESPACES || SD_JOURNAL_SYSTEM) < 0)
if (sd_journal_open_directory(&journal, "/var/log/journal", SD_JOURNAL_SYSTEM) < 0)
{
LOGSystemError(errno, NET_LOG, "Failed to open journal");
return journal;

Binary file not shown.