Change the name and location of session history log file

Tekla Structures
2021
Tekla Structures

Change the name and location of session history log file

You can change the name and location of the session history log file (TeklaStructures_<user>.log).

If someone else manages your installation of Tekla Structures, do not change these settings unless you are instructed to do so.

Windows username and the .log file extension are always added after the customizable part of the name.

  1. Open a suitable initialization file for editing.

    For example, user.ini or company.ini.

  2. To change the name of the session history log file, add the following line to the initialization file:

    set XS_LOG_FILE_NAME=<name of the file>

    For example:

    set XS_LOG_FILE_NAME=sessionhistory

    If the Windows user name is "achilles", this example would result in a log file named sessionhistory_achilles.log.

    The default name is TeklaStructures_<user>.log.

  3. To change the location of the session history log file, add the following line to the initialization file:

    set XS_LOGPATH=<location of the file>

    If there is no other location set, the file is stored in the parent folder for model folders (by default c:\TeklaStructuresModels).

  4. Save the initialization file.
  5. Restart Tekla Structures for the changes to take effect.
Was this helpful?
Previous
Next