1

I know I can log using r:debug(),r:info() etc in error_log.But there are places in my code where I don't want to pass around the request. Is there something like mod_python's apache.log_error() in mod_lua to achieve this?

callow
  • 517
  • 1
  • 4
  • 15

1 Answers1

0

You can always just write to stderr, and you'll end up in the main (base configuration) ErrorLog

covener
  • 17,402
  • 2
  • 31
  • 45