[pgAdmin] Remove hard-source-webpack-plugin

Поиск
Список
Период
Сортировка
Искать

[pgAdmin] Remove hard-source-webpack-plugin

От:
Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>
Дата:
Вложения:
Hi Hackers,

We do not need hard-source-webpack-plugin as webpack 4 is fast enough. It is creating more problems than solving and sometimes we have remove the generated directory to build correctly.
Attached is the patch to remove it.

In addition to this, I have also changed werkzeug logging level from logging.INFO to config.CONSOLE_LOG_LEVEL (which is WARNING by default). This will reduce the size of log generated by pgAdmin considerably. Messages like - 
[08/Aug/2019 16:32:58] "POST /settings/store HTTP/1.1" 200 will not be logged.

--
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"

Re: [pgAdmin] Remove hard-source-webpack-plugin

От:
Dave Page <dpage@pgadmin.org>
Дата:
Thanks, applied.

On Thu, Aug 8, 2019 at 2:18 PM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers,

We do not need hard-source-webpack-plugin as webpack 4 is fast enough. It is creating more problems than solving and sometimes we have remove the generated directory to build correctly.
Attached is the patch to remove it.

In addition to this, I have also changed werkzeug logging level from logging.INFO to config.CONSOLE_LOG_LEVEL (which is WARNING by default). This will reduce the size of log generated by pgAdmin considerably. Messages like - 
[08/Aug/2019 16:32:58] "POST /settings/store HTTP/1.1" 200 will not be logged.

--
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"


--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
FAQ