We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e62b6ee + 7decc40 commit 2eef265Copy full SHA for 2eef265
src/Shared-Src/Native/logging.h
@@ -149,8 +149,8 @@ namespace shared {
149
{
150
program_data = R"(C:\ProgramData)";
151
}
152
-
153
- return std::filesystem::path(program_data);
+
+ return std::filesystem::path(program_data) / R"(Datadog-APM\logs\DotNet)";
154
#else
155
return std::filesystem::path("/var/log/datadog/dotnet");
156
#endif
@@ -174,9 +174,6 @@ namespace shared {
174
175
176
std::filesystem::path log_directory_path = GetProductBaseDirectoryPath();
177
-#ifdef _WIN32
178
- log_directory_path /= TLoggerPolicy::folder_path;
179
-#endif
180
return ToString((log_directory_path / log_file_name).native());
181
182
0 commit comments