Hi, I would like to log more HTTP-traffic-related data into logstash - no webserver outputs the information I need. I know there is already a built-in http logger, but just like any webserver, it does not include the body and other data (controller-action, args, vars, user, session, etc). I want to have a cross-application logger that does that, and use the logstash-formatter module for the file-format. What would be my best approach? The existing http-logger already does a good job at capturing the http-traffic (request AND response) in a global way (non app/controller-specific, I assume it functions at the wsgi level), but lacks extra information. I can create the logstash-handler as a separate handler and bind it to existing logger(s) - but where do I find the code of the http handler? Should I modify it, or fork it (create a new one using the existing one as a basis)? If so, how? Should it be in the anyserver.py (assuming I want to use gevent)? I would like to avoid having to use it at the controller-action level (that would be stupid), while still not reinventing the wheel for that. Any suggestions?
-- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.