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?
Asked
Active
Viewed 196 times
1

callow
- 517
- 1
- 4
- 15
-
1Not in the current releases. – hjpotter92 Aug 19 '16 at 08:27
-
@hjpotter92 Is there a workaround? – callow Aug 19 '16 at 08:57
1 Answers
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