#816: [PATCH] File logging is broken
---------------------------------------------+------------------------------
Reporter: Matthew Good <[EMAIL PROTECTED]> | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: TurboGears | Version: 0.9a5
Severity: normal | Resolution:
Keywords: |
---------------------------------------------+------------------------------
Comment (by godoy):
Instead of modifying everything and loosing the output to sys.stdout,
shouldn't something like
{{{
logfile = turbogears.config.get(open("server.log_file"),
sys.stdout)
}}}
be used? Of course, I'm not checking exceptions on this suggestion, but I
believe it would be better to keep the possibility to have both...
(I haven't tried that, this is just "pseudocode")
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/816>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" 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-tickets
-~----------~----~----~----~------~----~------~--~---