diff --git a/projects/clr/rocclr/utils/flags.cpp b/projects/clr/rocclr/utils/flags.cpp index f68bc2a76c..31f8237888 100644 --- a/projects/clr/rocclr/utils/flags.cpp +++ b/projects/clr/rocclr/utils/flags.cpp @@ -152,7 +152,7 @@ bool Flag::init() { if (!flagIsDefault(AMD_LOG_LEVEL_FILE)) { std::string fileName = AMD_LOG_LEVEL_FILE; fileName = fileName + "_" + std::to_string(Os::getProcessId()); - outFile = fopen(fileName.c_str(), "w"); + outFile = fopen(fileName.c_str(), "a"); } }