You can specify whether a user-defined message is logged to the Adaptive Server error log as well as to the Windows NT event log. Adaptive Server lets you make this determination for:
New messages (sp_addmessage)
Existing messages (sp_altermessage)
For more information about these commands and their parameters, see sp_addmessage and sp_altermessage in the Adaptive Server Reference Manual.