Well, the logging only lets you specifiy what goes around the message
part.  The access log uses the messages only pre-defined logger.

So I could put for example: "*(asctime)s *(message)s" or "*(message)s
*(asctime)s"

But I can't change the format of the logged line without editing the
appropriate source in turbogears/controllers.py

That defines the message part of the log which is the common log format
except without a timestamp.  Also, the asctime provided by the logging
formatters is not the correct timestamp format for common log format.
(I'm sure something could be substituted but it would still be in the
incorrect location.)

Am I wrong in this analysis?  Perhaps there is a way to modify the
message of the access logger without changing the source?

-Dennis


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to