Save debug.txt to build dir for RUN_IN_PLACE build (#7615)

master
pauloue 2018-08-15 05:36:40 -04:00 committed by SmallJoker
parent 03f89e8ffc
commit 5aa865e56b
1 changed files with 1 additions and 4 deletions

View File

@ -532,11 +532,8 @@ static bool read_config_file(const Settings &cmd_args)
static void init_log_streams(const Settings &cmd_args)
{
#if RUN_IN_PLACE
std::string log_filename = DEBUGFILE;
#else
std::string log_filename = porting::path_user + DIR_DELIM + DEBUGFILE;
#endif
if (cmd_args.exists("logfile"))
log_filename = cmd_args.get("logfile");