1
0
Fork 0
mirror of synced 2024-06-29 19:50:26 +12:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);