Hi all, to debug the SQL statements used during auth with openid I would like to log them to a file. I have setup logging according to http://web2pyslices.com/main/slices/take_slice/91 and calling "logger.debug('foo')" from a controller logs that message. But if I try to log sth. out of DAL, nothing happens. E.g (in dal.py). def _insert(self,table,fields): global logger logger.debug("Inserting into %s: %s" %(table, fields)) ...
Replacing "logger.debug" with "raise Exception" show, that _insert() gets called. Any ideas? KR, drebbin