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 %(levelname)-5.5s [%(name)s] %
(message)s
[formatters]
keys = generic
[handlers]
keys = console
[handler_console]
formatter = generic
args = ('main.log','a')
class = FileHandler
level = NOTSET
[logger_graffity]
handlers =
;accesslog, debuglog, criticallog
qualname = graffity
level = NOTSET
[logger_routes]
handlers =
qualname = routes.middleware
level = NOTSET
...
But:
1.)
I don't see any Server (restarting times, etc.) info in the log. I
want to set it to see because I need to use Pylons as Windows Service.
2.)
I don't see any information about the client, like IP or HostName, or
about the request, and the other params - like in Apache "access.log".
Ok, if I use apache proxy, I can see them all, but if I want to use
Pylons it without apache, I miss them.
Please help me a little!
Thanks for it!
dd
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---