Properly rotate logfiles on sustain.

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

View File

@@ -243,7 +243,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;