Re: Logging example in Windows (lama)

2009-05-27 Thread Mike Orr
On Wed, May 27, 2009 at 3:51 AM, durumdara durumd...@gmail.com wrote: Hi! I solved the problem with this config: [loggers] keys = root, routes, graffity [logger_root] handlers = console level = NOTSET [formatter_generic] datefmt = %H:%M:%S format = %(asctime)s,%(msecs)03d

Re: Logging example in Windows (lama)

2009-05-27 Thread durumdara
Dear Mike! Can I get some callback that starts at/before every requests where I can log everything what I need? I know that Pylons (or Django?) have __before__ and __after__ method calls, but I need some other, special callback method (just like mako filter) where I can do my logs without

Re: Logging example in Windows (lama)

2009-05-27 Thread Wichert Akkerman
Previously durumdara wrote: Can I get some callback that starts at/before every requests where I can log everything what I need? Write a tiny bit of WSGI middleware? Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is

Logging example in Windows (lama)

2009-05-26 Thread durumdara
Hi! Lama questions... I need to logging like apache. To see any happening, or to see them in two/three files: info/warning/etc. errors, criticals # Logging configuration [loggers] keys = root, routes, graffity [handlers] keys = console, accesslog, debuglog, criticallog [formatters] keys =