Skip to content

Commit 85ecea0

Browse files
committed
Reduce log spam
1 parent b4d55e8 commit 85ecea0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

code/framework/src/integrations/server/instance.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,15 +382,15 @@ namespace Framework::Integrations::Server {
382382
if (std::filesystem::exists(packageJsonPath)) {
383383
std::filesystem::path packageJsonName = std::filesystem::path(resourceName) / "package.json";
384384
streamer->AddFile(packageJsonPath.string().c_str(), packageJsonName.string().c_str());
385-
Logging::GetLogger(FRAMEWORK_INNER_SERVER)->debug("Added client asset: {}", packageJsonName.string());
385+
Logging::GetLogger(FRAMEWORK_INNER_SERVER)->trace("Added client asset: {}", packageJsonName.string());
386386
}
387387

388388
// Add the client entry point script
389389
std::filesystem::path clientEntryPath = std::filesystem::path(resourcePath) / clientEntryRelative;
390390
if (std::filesystem::exists(clientEntryPath)) {
391391
std::filesystem::path clientEntryName = std::filesystem::path(resourceName) / clientEntryRelative;
392392
streamer->AddFile(clientEntryPath.string().c_str(), clientEntryName.string().c_str());
393-
Logging::GetLogger(FRAMEWORK_INNER_SERVER)->debug("Added client asset: {}", clientEntryName.string());
393+
Logging::GetLogger(FRAMEWORK_INNER_SERVER)->trace("Added client asset: {}", clientEntryName.string());
394394
}
395395

396396
// If the client entry is in a subdirectory, add all JS files from that directory
@@ -404,7 +404,7 @@ namespace Framework::Integrations::Server {
404404
if (ext == ".js" || ext == ".mjs" || ext == ".ts" || ext == ".json") {
405405
std::filesystem::path relativePath = std::filesystem::relative(entry.path(), std::filesystem::path(assetsPath));
406406
streamer->AddFile(entry.path().string().c_str(), relativePath.string().c_str());
407-
Logging::GetLogger(FRAMEWORK_INNER_SERVER)->debug("Added client asset: {}", relativePath.string());
407+
Logging::GetLogger(FRAMEWORK_INNER_SERVER)->trace("Added client asset: {}", relativePath.string());
408408
}
409409
}
410410
}

0 commit comments

Comments
 (0)