1
0
Fork 0
mirror of synced 2024-06-30 20:21:16 +12:00

Merge pull request #3513 from appwrite/lohanidamodar-patch-1

set proper log namespace
This commit is contained in:
Eldad A. Fux 2022-07-07 15:25:39 +03:00 committed by GitHub
commit 0615c6624e
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);