Ignore:
Timestamp:
2008-12-02T19:31:59+13:00 (15 years ago)
Author:
ak19
Message:

Max discovered that gsdlsite.cfg set the logfile to the path c:\gsdl.log. What if the main drive was D: or something else? Also, it would help for the zip releases of GS2 if the logfile path also made use of gsdlhome (as other gsdlsite.cfg properties do) instead of using a location external to gsdlhome. The template values in gsdlsite.cfg are replaced with the value of gsdlhome where required, including now for the logfilename property.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/src/w32server/settings.cpp

    r17987 r18018  
    394394  // debug settings
    395395  gsdl_keep_log = 0;
    396   strcpy (gsdl_log_name, "c:\\gsdl.log");
     396  char *cstr_value = filename_cat(data_location,"gsdl.log").getcstr();
     397  strcpy (gsdl_log_name, cstr_value); //strcpy (gsdl_log_name, "c:\\gsdl.log");
     398  delete []cstr_value;
    397399  gsdl_show_console = 0;
    398400 
Note: See TracChangeset for help on using the changeset viewer.