소스 검색

Add a bit more about logging

Nolan Lawson 7 년 전
부모
커밋
dcc2945e59
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      Running-Mastodon/PgBouncer-guide.md

+ 5 - 1
Running-Mastodon/PgBouncer-guide.md

@@ -61,7 +61,7 @@ md5 -s "mastodonpassword"
 
 Then just add `md5` to the beginning of that.
 
-You'll also want to create a `pgbouncer` admin user to log in to the admin database. So here's a sample `userlist.txt`:
+You'll also want to create a `pgbouncer` admin user to log in to the PgBouncer admin database. So here's a sample `userlist.txt`:
 
 ```
 "mastodon" "md599dff7ae01ae2dc33ae052264bf22bf4"
@@ -122,6 +122,10 @@ You should be able to connect to PgBouncer just like you would with Postgres:
 
 And then use your password to log in.
 
+You can also check the PgBouncer logs like so:
+
+    tail -f /var/log/postgresql/pgbouncer.log
+
 ### Configuring Mastodon to talk to PgBouncer
 
 In your `.env.production` file, first off make sure that this is set: