Create a gist now

Instantly share code, notes, and snippets.

@sh4nks /sqlalchemy.log Secret
Created Feb 25, 2013

sqlalchemy logging output
INFO:sqlalchemy.engine.base.Engine:BEGIN (implicit)
INFO:sqlalchemy.engine.base.Engine:SELECT posts.pid AS posts_pid, posts.title AS posts_title, posts.body AS posts_body, posts.date_created AS posts_date_created, posts.user_id AS posts_user_id, count(posts.pid = comments.post_id) AS count_1
FROM posts, comments
INFO:sqlalchemy.engine.base.Engine:()
INFO:sqlalchemy.engine.base.Engine:SELECT users.uid AS users_uid, users.fullname AS users_fullname, users.username AS users_username, users.email AS users_email, users.password AS users_password, users.about_me AS users_about_me, users.location AS users_location, users.sex AS users_sex, users.lastvisit AS users_lastvisit, users.regdate AS users_regdate, users.timeonline AS users_timeonline, users.group_id AS users_group_id
FROM users
WHERE users.uid = ?
INFO:sqlalchemy.engine.base.Engine:(1,)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment