Hello!
On Mon, Sep 8, 2014 at 7:28 AM, Donatas Abraitis wrote:
> yes, this I know, but what if I want to handle error_log and send it to
> redis/mysql/memcache, etc?
>
Not directly. The error_log facility in the nginx core does not
provide any C-level hooks for 3rd-party modules like ngx_lua to add
custom processors. You can either
1. request a C-land hook in error_log in the official nginx mailing list, or
2. customize your syslog server to do further data pushing to
redis/mysql/memcached/etc.
Regards,
-agentzh