Permalink
Browse files

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

  • Loading branch information...
pauloue authored and SmallJoker committed Aug 15, 2018
1 parent 03f89e8 commit 5aa865e56b18c3f0cf1d43da2298ccc05236e15c
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/main.cpp
@@ -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");

0 comments on commit 5aa865e

Please sign in to comment.