journal_open


Description:

[ Version ( since = "1.23.11" ) ]
public bool journal_open (string directory) throws Error

open the systemd journal

Open the systemd journal located in directory. Any previously opened journal handle is closed.

The contents of the journal can be read using journal_next and journal_get.

After you have finished using the journal, you should close the handle by calling journal_close.

This function depends on the feature "journal". See also feature_available.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error