Adaptive Server handles all messages and exceptions from XP Server. It logs standard ESP messages in the log file in addition to sending them to the client. User-defined messages from user-defined ESPs are not logged, but they are sent to the client.
ESP-related messages may be generated by XP Server, by a system procedure that creates or manipulates ESPs, or by a system ESP. See the Troubleshooting and Error Messages Guide for the list of ESP-related messages.
A function for a user-defined ESP can generate a message using the srv_sendinfo Open Server routine. See the sample xp_message function in the “ESP function example”.