Browse files

log all postgres statements for debugging/understanding of what is go…

…ing on
  • Loading branch information...
1 parent 251606e commit 287534e54a2947b792544aa4d039fdfa99aeb231 @etrepum etrepum committed Jan 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/test_end_to_end.py
View
2 tests/test_end_to_end.py
@@ -204,7 +204,7 @@ def pg_ctl(self, op):
subprocess.Popen(
[c, op, '-D', self.data_dir, '-l', self.pglog,
- '-o', '"-p %s"' % str(self.pg_port)],
+ '-o', '"-p %s" "-c" "log_statement=all"' % str(self.pg_port)],
stdout=subprocess.PIPE)
return self.waitForServerUp('postgres', self.pg_port)

0 comments on commit 287534e

Please sign in to comment.