@cryptotaxi247 / netdata / commits / 3c28458f5

Remove OTel journal discovery from systemd-journal.plugin (#22572)

Remove unused OTEL journal directory code from systemd-journal plugin

Stelios Fragkakis committed May 27, 2026 at 01:08 UTC 3c28458f5db39be692a2acbcfb9cd878beb97152
1 file changed -7
src/collectors/systemd-journal.plugin/systemd-journal-files.c
-7
@@ -866,13 +866,6 @@ void nd_journal_init_files_and_directories(void)
866 journal_directories[d++].path = string_strdupz(path);
867 }
868
869 - const char *log_dir = getenv("NETDATA_LOG_DIR");
870 - if (log_dir && *log_dir) {
871 - char path[PATH_MAX];
872 - snprintfz(path, sizeof(path), "%s/otel", log_dir);
873 - journal_directories[d++].path = string_strdupz(path);
874 - }
875 -
869 // terminate the list
870 journal_directories[d].path = NULL;
871