Server log files missing from the CA_SCM_HOME log directory
search cancel

Server log files missing from the CA_SCM_HOME log directory

book

Article ID: 49298

calendar_today

Updated On: 06-19-2025

Products

CA Harvest Software Change Manager - OpenMake Meister CA Harvest Software Change Manager

Issue/Introduction

We are running the broker as a service using a non system account and cannot find any log files produced in the expected location %CA_SCM_HOME%\log

Environment

Harvest Software Change Manager

Resolution

The log directory will be chosen based on the values of the Windows system environment variables HOMEDRIVE and HOMEPATH.  If those variables are not set then it will use the -homedir value defined in the broker startup (command line argument or in the %CA_SCM_HOME%\HBroker.arg file)

In practice that means whenever the broker is started from the foreground or as a non local system account service it will use the HOMEDRIVE and HOMEPATH variable combination as these will usually be set for a normal user account.

For example if a Windows user account has the system environment variable HOMEDRIVE defined a C: and the system environment variable HOMEPATH defined as \Users\<userid>, this would result in the log files being created in C:\Users\<userid>\.cascm\log

Please note that the Windows system environment variables HOMEDRIVE and HOMEPATH would only affect the log files.  The -homedir broker option would still be used to locate the HServer.arg and hsvr.dfo files.

Additional Information

To view and configure the system and user environment variables on a Windows system, in Windows search field (next to the Start button) type "System Properties", then select "View Advanced System Settings" from the search results.  Then, on the System Properties dialog click on "Environment Variables".