hi,

config ur lof,cfg.

       [[[access_out]]]
class='FileHandler'
level='INFO'
args="('/home/antony/info.log','a+')"
formatter='message_only'


On 9/12/07, Peter M <[EMAIL PROTECTED]> wrote:
>
>
> I am trying to wrap my mind about error logging.
> I even created wiki page with links what I found:
>   http://learnpython.pbwiki.com/ErrorLogging
>
> IIUC, default error logging in TG sends error to stderr, which is (in
> dev.cfg) the terminal running start-myapp.py
>
> I would like to send debug messages to a text file. What is preferred
> way to do it in TG?
>
> Thanks!
> --
> ----
> Peter
>
> >
>

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

Reply via email to