Get journal api wrapper working for detailed logs
This commit is contained in:
@@ -291,7 +291,7 @@ p.cssvalid,p.htmlvalid {float:left;margin-right:20px}
|
||||
padding: 1em;
|
||||
border-radius: 6px;
|
||||
font-family: monospace, monospace;
|
||||
font-size: 0.95em;
|
||||
font-size: 0.75em;
|
||||
line-height: 1.4;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
@@ -94,7 +94,7 @@ if (!$pid || $pid < 1) {
|
||||
|
||||
// Journal retrieval using C wrapper
|
||||
define('FFI_LIB', 'libjournalwrap.so'); // adjust if needed
|
||||
define('WRAPPER_BIN', '/usr/local/bin/journalwrap'); // fallback executable path
|
||||
define('WRAPPER_BIN', '/usr/bin/journalwrap'); // fallback executable path
|
||||
define('MAX_OUTPUT_BYTES', 2_000_000); // 2MB safety cap
|
||||
|
||||
function getJournalByPidViaFFI(int $pid): ?string {
|
||||
|
Reference in New Issue
Block a user