in reply to Re^2: close_xs is not a valid Sys::Syslog macro (UtS,L)
in thread close_xs is not a valid Sys::Syslog macro

I bet your test scripts do not define SIG{__DIE__}, and your production script does. I just a SIG{__DIE__} handler to an old script, and suddenly I started getting the close_xs error. I added "return if $^S;" to the top of my handler, and the issue went away. At least with Syslog.pm version 0.18, the close_xs call is made within an eval.
  • Comment on Re^3: close_xs is not a valid Sys::Syslog macro (UtS,L)