Manage event logging by controlling whether a message is logged, or by adding user messages.
Use sp_addmessage to add a user message, or sp_altermessage to control whether a specific message is logged in the SAP ASE error log.
See the Reference Manual: Procedures.
Use configuration parameters to specify whether auditing events are logged. Auditing events pertain to a user’s success (log audit logon success) or failure (log audit logon failure) in logging in to SAP ASE.