4.1.1 Using lansa.ini to Change Default File Locations

If you need to change any of the default file locations or other parameters, e.g. maximum log file size, you need to edit {lansa_root}/lansa.ini with a text editor.

For example, if you install LANSA for Linux to the directory /lansa, the file /lansa/lansa.ini will be created with the following content:

[Communications]
LicenceTable=/lansa/x_lansa/x_lickey.dat
ProcInfoFile=/lansa/lcoproc.ini
RouteTable=/lansa/lroute.dat
TraceFile=/lansa/log/lroute.trc
LogFile=/lansa/log/lroute.log
;TraceMaximum=65536
;LogMaximum=65536
;LogStateCheck=N
 

The file lists all the file locations and other parameters that you may customize.

Lines starting with a semicolon are remarks and so the semicolons can be used handily as a way to disable/enable a parameter. In the example, for instance, default value for TraceMaximum will be used as the line is remarked out.