By jamesncl
These logs appear in the ‘Recent logs’ section of the ‘Logs & Queries’ tab on the control panel for the managed database I’ve just created. There are several every minute. The database cluster is configured to only accept connections from an Ubuntu Droplet, which has also just been created, and is not doing anything. What causes these logs? Does it indicate a problem? Is there anything I can do to stop them or filter them out? Here are some examples of what I mean:
06-16-2019 01:23:21PM postgresql-11.service [11-1] user=postgres,db=defaultdb,app=do-stats,client=[local] LOG: disconnection: session time: 0:00:00.044 user=postgres database=defaultdb host=[local]
06-16-2019 01:23:21PM postgresql-11.service [10-1] user=postgres,db=defaultdb,app=[unknown],client=[local] LOG: connection authorized: user=postgres database=defaultdb
06-16-2019 01:23:21PM postgresql-11.service [9-1] user=[unknown],db=[unknown],app=[unknown],client=[local] LOG: connection received: host=[local]
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
I understand you noticed the default postgres user on managed DB and appears to be connecting/disconnecting in the logs. DigitalOcean is using it for monitoring and management. You cannot disable postgres user as it used by DigitalOcean for monitoring and administration purpose.
Hope that this helps. Regards, Priyanka
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.