Diagnostics: add phplog

This commit is contained in:
ljm42
2024-03-07 12:48:58 -07:00
parent 20d7b702c5
commit b67bd8ab30

View File

@@ -661,6 +661,13 @@ if (file_exists($dhcplog)) {
if (!$all) maskIP($log);
}
// copy phplog
$phplog = "/var/log/phplog";
if (file_exists($phplog)) {
$log = "/$diag/logs/phplog.txt";
run("todos <$phplog >".escapeshellarg($log));
}
// copy graphql-api.log
$graphql = "/var/log/graphql-api.log";
if (file_exists($graphql)) {