Last active
August 29, 2015 13:57
-
-
Save pallymore/9556417 to your computer and use it in GitHub Desktop.
local postgres.app logging (logging has to be enabled first) Postgres93 is the name of the postgres app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tail -f ~/Library/Application\ Support/Postgres93/var/pg_log/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
edit: | |
~/Library/Application Support/Postgres93/var/postgresql.conf | |
Then: | |
logging_collector = on | |
log_directory = 'pg_log' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Improved Version:
https://gist.github.com/maciejkowalski/9598367