Change EGO log file locations

On Windows machines, you can save log files to a specified location. If you are running a clustered application manager (such as Platform LSF), you want to ensure the location is the same for both applications (both LSF and EGO).

  1. Open %EGO_CONFDIR%\ego.conf.
  2. To enable logging in Windows, you must define the parameter EGO_LOGDIR=dir, where dir specifies the EGO system log file directory.

    Error messages from all servers are logged into files in this directory. To effectively use debugging, set EGO_LOGDIR to a directory such as C:\Temp.

  3. To enable logging of error messages into the directory files specified by EGO_LOGDIR, you must also define the related parameter EGO_LOGDIR_USE_WIN_REG=n.

    If you do not define EGO_LOGDIR_USE_WIN_REG, or if you define it with a value other than n, then EGO logs error messages to the default local directory specified in the Windows registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Platform Computing Corporation\EGO\EGO_LOGDIR
    Note:

    For 64-bit Windows machines, EGO logs error messages to the default local directory specified in this Windows registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Platform Computing Corporation\EGO\EGO_LOGDIR.

    If a server is unable to write in the EGO system log file directory, EGO attempts to write to these directories:
    • Linux/UNIX, in this order:
      1. $TMPDIR (if variable is defined)

      2. /tmp

    • Windows, in this order:
      1. OS default temp directory, by call Windows API GetTempPath()

      2. System directory (C:\)