Thread: pgadmin4.log -- how to clear?

pgadmin4.log -- how to clear?

From
Anthony DeBarros
Date:
Hi,

I'm running pgAdmin 4 on two different Macbooks, and on both the pgadmin.log file is getting fairly big. It's at ~800MB on one of the machines and ~600MB on the other.

What's the recommended way to clear that file so I can reclaim the space?

Thanks!

Anthony DeBarros

Re: pgadmin4.log -- how to clear?

From
Akshay Joshi
Date:
Hi Anthony

What is the log level? What kinds of logs it is generating?
If the log file contains "urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate" this error so many times then I would suggest installing the SSL Certificate "Macintosh HD > Applications > Python3.6 folder (or whatever version of python you're using) > double click on "Install Certificates.command" 

Regarding space issue If the logs are not important for you then simply shutdown pgAdmin4, delete those files, and restart the pgAdmin4 server again. 

On Mon, Jun 29, 2020 at 12:46 AM Anthony DeBarros <anthonymdebarros@gmail.com> wrote:
Hi,

I'm running pgAdmin 4 on two different Macbooks, and on both the pgadmin.log file is getting fairly big. It's at ~800MB on one of the machines and ~600MB on the other.

What's the recommended way to clear that file so I can reclaim the space?

Thanks!

Anthony DeBarros


--
Thanks & Regards
Akshay Joshi
Sr. Software Architect
EnterpriseDB Software India Private Limited
Mobile: +91 976-788-8246

Re: pgadmin4.log -- how to clear?

From
Anthony DeBarros
Date:
Thanks, Akshay. The logs have a wide variety of messages going back almost two years -- messages about lost connections, SQL errors, CSRF tokens, etc.

I deleted the file as you suggested, and all is well. Thanks!

Anthony

On Mon, Jun 29, 2020 at 12:38 AM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Hi Anthony

What is the log level? What kinds of logs it is generating?
If the log file contains "urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate" this error so many times then I would suggest installing the SSL Certificate "Macintosh HD > Applications > Python3.6 folder (or whatever version of python you're using) > double click on "Install Certificates.command" 

Regarding space issue If the logs are not important for you then simply shutdown pgAdmin4, delete those files, and restart the pgAdmin4 server again. 

On Mon, Jun 29, 2020 at 12:46 AM Anthony DeBarros <anthonymdebarros@gmail.com> wrote:
Hi,

I'm running pgAdmin 4 on two different Macbooks, and on both the pgadmin.log file is getting fairly big. It's at ~800MB on one of the machines and ~600MB on the other.

What's the recommended way to clear that file so I can reclaim the space?

Thanks!

Anthony DeBarros


--
Thanks & Regards
Akshay Joshi
Sr. Software Architect
EnterpriseDB Software India Private Limited
Mobile: +91 976-788-8246