Users can now exercise control over whether certain messages are always logged to the Adaptive Server error log.
By setting the log audit logon success or log audit logon failure configuration parameter, you can enable or disable the logging of successful or unsuccessful Adaptive Server logins.
You can also specify that a particular message, identified by its message identifier, should be logged, using the with_log parameter to the sp_addmessage or sp_altermessage system procedure. See the Adaptive Server Reference Manual for information about these system procedures.
These features affect logging to the Adaptive Server error log on all platforms, as well as logging to the Windows NT Event Log on Windows NT servers, if event logging is enabled.