Logging in C++ and script-based entry points

Developers creating C++ agent entry points can use a set of macros for logging application messages or debug messages. Developers of script-based entry points can use a set of methods, or "wrappers," for logging applications or debug messages. Moreover, developers of script entry point can configure LogViaHalog attribute, to generate application or debug messages using halog utility.

Veritas recommends using the ag_i18n_inc subroutines for logging. The subroutines set the category ID for the messages and provide a header for the log message, which includes the resource name and the entry point name.