Re: Unable to log to stdout for pgadmin4 in python3

2017-09-06 Thread Glen Huang
That sounds reasonable. Thanks. > On 7 Sep 2017, at 12:50 PM, Murtuza Zabuawala > wrote: > > This is not a bug with pgAdmin4 but anyways you can submit feature request to > provide option to log only on stdout instead of file. > > -- > Regards, > Murtuza Zabuawala > EnterpriseDB: http://www.

Re: Unable to log to stdout for pgadmin4 in python3

2017-09-06 Thread Murtuza Zabuawala
This is not a bug with pgAdmin4 but anyways you can submit *feature request *to provide option to log only on stdout instead of file. -- Regards, Murtuza Zabuawala EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company [image: https://community.postgresrocks.net/]

Re: Unable to log to stdout for pgadmin4 in python3

2017-09-06 Thread Glen Huang
Thanks for offering the solution. I’ll try to apply it for now. But ideally it could be fixed in pgadmin, since LOG_FILE is now ignored all together. Should I submit a ticket to pgadmin's issue tracker? (does it have one?) > On 7 Sep 2017, at 12:34 PM, Murtuza Zabuawala > wrote: > > I don't

Re: Unable to log to stdout for pgadmin4 in python3

2017-09-06 Thread Murtuza Zabuawala
I don't think that's possible with FileHandler in python. The workaround is to change the logging FileHandler to StreamHandler, If you have access to pgAdmin4 source code in docker then you can try replacing below line (File: ** /pgadmin4/web/pgadmin/__init__.py), fh = logging.FileHandler(config