Properly rotate logfiles on sustain.

This commit is contained in:
JoelKatz
2013-07-21 23:11:49 -07:00
parent f466fcf93b
commit 5c040e78bb
3 changed files with 7 additions and 5 deletions

View File

@@ -299,7 +299,7 @@ int rippleMain (int argc, char** argv)
if (HaveSustain () &&
!iResult && !vm.count ("parameters") && !vm.count ("fg") && !vm.count ("standalone") && !vm.count ("unittest"))
{
std::string logMe = DoSustain ();
std::string logMe = DoSustain (theConfig.DEBUG_LOGFILE.c_str());
if (!logMe.empty ())
Log (lsWARNING) << logMe;