Wednesday, 4 December 2013

Changing the default trace level of SAP Host Agent

SAP Host Agent runs with tracelevel 1 by default.
If you need more information to be able to analyze an issue, you can change the following profile values:
 
hostexec/trace
service/trace

Proceed as follows:
  1. Open the SAP Host Agent profile ( host_profile ) which is located in the exe directory of the SAP Host Agent (/usr/sap/hostctrl/exe/ or C:\Program Files\SAP\hostctrl\exe\).
  2. Modify the required values, for example hostexec/trace = 3 and service/trace = 3.
  3. Restart SAP Host Agent by executing saphostexec -restart (as a user with root authorization) orhostexecstart -restart (as user <sapsid>adm)
 
All SAP Host Agent log files in /usr/sap/hostctrl/work/ (UNIX) or C:\Program Files\SAP\hostctrl\work\(Windows) now contain much more information.

1 comment: