Log File Name
In the General Preferences tab, this field contains the name and location of the error log file. In the Scheduler Preferences tab, this field contains the name and location of the schedule log file.
The error log file contains information about any errors that occur during processing. The schedule log file contains error messages and information about the events that occurred when the schedule ran. The log file helps your service representative diagnose severe errors. To specify another file to use, click Browse, and select another file name.
- A log file is created if it does not already exist. When the log file is created, default
permissions apply. If the DSM_LOG environment variable is not set and
ERRORLOGNAME is not provided as an option, the program tries to create a file named dsmerror.log in
the current working directory.
If the DSM_LOG environment variable contains an incomplete path, such as DSM_LOG=incompletepath, then the path must exist starting at the current working directory, or it will be created there. For example, the current working directory is /home/jack. If DSM_LOG=incompletepath, then the error log will be: /home/jack/incompletepath/dsmerror.log.
If DSM_LOG contains an incorrect path, such as DSM_LOG=/home/mylogs, and /home/mylogs is a file, an error is reported and processing stops.
- If the log file cannot be opened for writing, client processing stops.
- An error log is created regardless of whether there is an error to report. If no errors are recorded, the log is empty.
- To avoid log write failures, set the DSM_LOG environment variable to a directory where default permissions allow the required access. Alternatively, you can create the log file before starting the client. Set the permissions for this file, by using the chmod command, that allows all expected client user IDs to read and write to the file. For non-Mac OS X clients, you can also use the setacl command. If you use the default log file name, setting the DSM_LOG environment variable to point to the directory it resides in is sufficient. However, if you used a different log file name, you must specify the name of the log in the Log File Name field. After you create a log file and set the permissions for the file, the file permission will not be changed by the client.