Do not remove these files. It is not even always the same location that they'd be written.
This commit is contained in:
@@ -53,8 +53,8 @@ RageLog* LOG; // global and accessable from anywhere in the program
|
|||||||
* map/unmap, using any mechanism to generate unique IDs. */
|
* map/unmap, using any mechanism to generate unique IDs. */
|
||||||
static map<RString, RString> LogMaps;
|
static map<RString, RString> LogMaps;
|
||||||
|
|
||||||
#define LOG_PATH "Logs/log.txt"
|
#define LOG_PATH "/Logs/log.txt"
|
||||||
#define INFO_PATH "Logs/info.txt"
|
#define INFO_PATH "/Logs/info.txt"
|
||||||
|
|
||||||
static RageFile *g_fileLog, *g_fileInfo;
|
static RageFile *g_fileLog, *g_fileInfo;
|
||||||
|
|
||||||
@@ -83,10 +83,6 @@ RageLog::RageLog()
|
|||||||
m_bInfoToDisk = false;
|
m_bInfoToDisk = false;
|
||||||
m_bFlush = false;
|
m_bFlush = false;
|
||||||
m_bShowLogOutput = false;
|
m_bShowLogOutput = false;
|
||||||
|
|
||||||
// delete old log files
|
|
||||||
remove( LOG_PATH );
|
|
||||||
remove( INFO_PATH );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
RageLog::~RageLog()
|
RageLog::~RageLog()
|
||||||
|
|||||||
Reference in New Issue
Block a user