Log files are recommended for any complex application as they make it easier for you to get information back from your users. The log should contain any debugging messages, and can also contain information from your program.
You can use dbg:log-bug-form
for logging errors. See the
LispWorks User Guide and Reference Manual
for details.
LispWorks Delivery User Guide - 10 Aug 2017