You'll need to be using tracd for this to work. Alternatively, if you're really keen, you could probably redirect stdout to the Trac logging infrastructure.
On 7/28/07, Joshua Preston <[EMAIL PROTECTED]> wrote: > Hey! > > We're using Apache2 and mod_python to host Trac 10.4 and am running into > problems. I need to debug some SQL and can't seem to be able to... > > I look at my site-packages/trac/db/util.py and make the requisite lines > uncommented such as: > > ... > def execute(self, sql, args=None): > # -- In case of SQL errors, uncomment the following 'print' statements > print 'execute', repr(sql) > if args: > print repr(args) > return self.cursor.execute(sql_escape_percent(sql), args) > return self.cursor.execute(sql) > ... > > Now while I don't get any errors, I don't get any output in any of the logs, > Apache or DEBUG log... > > > Thanks, > > > Joshua Preston > [EMAIL PROTECTED] > > 760 Communications Pkwy > Columbus, OH 43214 > > Office: 614-442-1215 x308 > Mobile: 614-204-9546 > Fax: 614-442-3075 > > > > > -- Evolution: Taking care of those too stupid to take care of themselves. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---