Re: [pylons-devel] Setting translogger format via ini

2016-03-19 Thread Zsolt Ero
Thanks a lot for this, I'll have a look how to use tweens, as I haven't been using them so far, but looks clean, I'll try to integrate it. On Saturday, March 12, 2016 at 4:04:47 AM UTC+1, Mike Orr wrote: > > Here's the code. You can see it's short and simple; half the code is > just to make it

Re: [pylons-devel] Setting translogger format via ini

2016-03-11 Thread Mike Orr
Here's the code. You can see it's short and simple; half the code is just to make it more configurable. Usage: pyramid_includes = accesslog # Settings, all optional access.format = {response.status_int} {request.method} {request.path_qs} access.ignore = /fanstatic /_debug_toolbar access.ignore_u

Re: [pylons-devel] Setting translogger format via ini

2016-03-10 Thread Mike Orr
On Thu, Mar 10, 2016 at 3:32 AM, Zsolt Ero wrote: > Hi, > > My first mailing list post, as this really puzzles me. I'd like to use a > short format for displaying HTTP requests in development mode. > > Before, I used to have this snippet in my Pyramid app's __init__.py: > > from paste.translogger