We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ff577b2 + fdff22c commit 6dc8b84Copy full SHA for 6dc8b84
sdjournal/journal.go
@@ -466,7 +466,9 @@ func (j *Journal) Close() error {
466
C.my_sd_journal_close(sd_journal_close, j.cjournal)
467
j.mu.Unlock()
468
469
- return j.lib.Close()
+ // we don't close the handle to reuse the symbol cache between Journal
470
+ // instances. It will go away when the process exits.
471
+ return nil
472
}
473
474
// AddMatch adds a match by which to filter the entries of the journal.
0 commit comments