set proper log namespace

This commit is contained in:
Damodar Lohani
2022-07-07 13:37:29 +05:45
committed by GitHub
parent 039ad5727f
commit 79dc3ab3fa
+1 -1
View File
@@ -83,7 +83,7 @@ $logError = function (Throwable $error, string $action = 'syncUsageStats') use (
$version = App::getEnv('_APP_VERSION', 'UNKNOWN');
$log = new Log();
$log->setNamespace("realtime");
$log->setNamespace("usage");
$log->setServer(\gethostname());
$log->setVersion($version);
$log->setType(Log::TYPE_ERROR);