pgadmin4.log -- how to clear?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

pgadmin4.log -- how to clear?

Anthony DeBarros
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
Reply | Threaded
Open this post in threaded view
|

Re: pgadmin4.log -- how to clear?

Akshay Joshi
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 <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: pgadmin4.log -- how to clear?

Anthony DeBarros
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 <[hidden email]> 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 <[hidden email]> 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