summaryrefslogtreecommitdiff
path: root/src/burn/engine/logging.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/burn/engine/logging.cpp')
-rw-r--r--src/burn/engine/logging.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/burn/engine/logging.cpp b/src/burn/engine/logging.cpp
index 0b510f3d..1b2bec1f 100644
--- a/src/burn/engine/logging.cpp
+++ b/src/burn/engine/logging.cpp
@@ -39,7 +39,17 @@ extern "C" HRESULT LoggingOpen(
39 HRESULT hr = S_OK; 39 HRESULT hr = S_OK;
40 LPWSTR sczLoggingBaseFolder = NULL; 40 LPWSTR sczLoggingBaseFolder = NULL;
41 LPWSTR sczPrefixFormatted = NULL; 41 LPWSTR sczPrefixFormatted = NULL;
42 LPCWSTR wzPostfix = BURN_MODE_UNTRUSTED == pInternalCommand->mode ? L".cleanroom" : NULL; 42 LPCWSTR wzPostfix = NULL;
43
44 switch (pInternalCommand->mode)
45 {
46 case BURN_MODE_UNTRUSTED:
47 wzPostfix = L".cleanroom";
48 break;
49 case BURN_MODE_RUNONCE:
50 wzPostfix = L".runonce";
51 break;
52 }
43 53
44 hr = InitializeLogging(pLog, pInternalCommand); 54 hr = InitializeLogging(pLog, pInternalCommand);
45 ExitOnFailure(hr, "Failed to initialize logging."); 55 ExitOnFailure(hr, "Failed to initialize logging.");