Setting the log file location
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Setting the log file location
You can specify the absolute path of the log file name with -dslog startup
switch to set the location of the log file. The absolute path is
obtained from the $DSLOGDIR environment variable.
So for example, setting $DSLOGDIR="C:\OE\Wrk\logs" and
setting -dslog to mydatasrv.lg,
yields the target server log file name of C:\OE\Wrk\logs\mydatasrv.lg.
If $DSLOGDIR is not set and just the log file name
is specified, then the log file is created in the directory where
the OpenEdge session (client or agent) is started.
The path for the log file name is derived in the following order of preference.