Ah, I had to set sqlalchemy.echo = False and that seemed to cure the problem.
Regards,
Gary.
On Tuesday 10 October 2006 19:00, [EMAIL PROTECTED] wrote:
> Oh yeah, don't know where i saw it, but i set sqlalchemy.echo = 0 in my
> prod.cfg also with no avail.
>
> On Oct 10, 10:58 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>
> wrote:
> > Just finished my first SA project, and after the rather steep learning
> > curve I am quite hooked on it and will be looking to convert a few of
> > my other apps over from SO. But i have one issue, while running with
> > the prod.cfg all the sql queries the SA generates are being sent to
> > stdout, rather annoying while I'm trying to navigate directories on the
> > box. Any pointers on what i have done wrong with the config? BTW, this
> > also happened while in dev mode in tg-shell and i was looking for a way
> > to stop it there also.
> >
> > db uri...
> > sqlalchemy.dburi="mysql://user:[EMAIL PROTECTED]:3306/scl?use_unicode=1"
> >
> > This is what i have in my prod.cfg for logging...
> >
> > server.logToScreen=False
> >
> > [logging]
> > [[handlers]]
> > [[[access_out]]]
> > # set the filename as the first argument below
> > args="('server.log',)"
> > class='FileHandler'
> > level='INFO'
> > formatter='message_only'
> >
> > [[[error_out]]]
> > args="('error.log',)"
> > class='FileHandler'
> > level='ERROR'
> >
> > [[[debug_out]]]
> > class='FileHandler'
> > level='DEBUG'
> > args="('debug.log',)"
> > formatter='full_content'
> >
> > [[loggers]]
> > [[[billingwiki]]]
> > level='ERROR'
> > qualname='billingwiki'
> > handlers=['error_out']
> >
> > [[[access]]]
> > level='INFO'G
> >
> > and in log.cfg...
> >
> > [logging]
> > [[formatters]]
> > [[[message_only]]]
> > format='*(message)s'
> >
> > [[[full_content]]]
> > format='*(asctime)s *(name)s *(levelname)s *(message)s'
> > qualname='turbogears.access'
> > handlers=['access_out']
> > propagate=0
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---