fix: use warning level for push metrics log

This commit is contained in:
2026-06-11 20:39:28 -04:00
parent ef23dd0b08
commit 2340fce8f8

View File

@@ -304,7 +304,7 @@ class ApiController
$input = json_decode($rawBody, true);
$logger = \ServerManager\Core\Logger::getInstance();
$logger->info('Push metrics received', [
$logger->warning('Push metrics received', [
'input_keys' => $input ? array_keys($input) : [],
'has_agent_key' => !empty($input['agent_key']),
'agent_key_prefix' => isset($input['agent_key']) ? substr((string)$input['agent_key'], 0, 8) . '...' : 'none',