in reply to How do I output error messages to a file?

You can try File::Log
with 'stderrRedirect => 1' when you buid your object

See File::Log
  • Comment on Re: How do I output error messages to a file?