Explorar o código

Merge pull request #1269 from richardkchapman/local-logging

Log file name incorrect for standalone hthor
Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday %!s(int64=13) %!d(string=hai) anos
pai
achega
03f196f1fd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ecl/eclagent/eclagent.cpp

+ 1 - 1
ecl/eclagent/eclagent.cpp

@@ -3078,7 +3078,7 @@ extern int HTHOR_API eclagent_main(int argc, const char *argv[], StringBuffer *
     {
         StringBuffer exeName;
         splitFilename(argv[0], NULL, NULL, &exeName, NULL);
-        openLogFile(logfilespec, exeName.toLowerCase());
+        openLogFile(logfilespec, exeName.append(".log"));
         PROGLOG("Logging to %s", logfilespec.str());
     }