Browse Source

Merge pull request #1269 from richardkchapman/local-logging

Log file name incorrect for standalone hthor
Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 13 năm trước cách đây
mục cha
commit
03f196f1fd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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());
     }