I like that suggestion, and in my tests it worked like a charm. But it does make for a pretty messy looking logfile. Perhaps I'll have to preprocess the output of Carp::shortmess before I write it to the logfile, to massage it into something a little cleaner looking.