Hi,
I am creating a flask application with flask_tryton.
I can’t find how to modify the tryton log level.
How can we enter the trytond-logconf.conf file as a parameter?
...
INFO:trytond.modules:asp_PartyOther
INFO:trytond.modules:asp_Product
INFO:trytond.modules:asp_Purchase
INFO:trytond.modules:asp_ImportProduct
INFO:trytond.modules:asp_Sale
INFO:trytond.pool:setup pool for "asperpgi8"
DEBUG:trytond.backend.postgresql.database:b'SELECT 1'
DEBUG:trytond.backend.postgresql.database:b'SELECT "provolatile" FROM pg_proc WHERE proname=\'unaccent\''
INFO:trytond.pool:setup mixin for "asperpgi8"
INFO:trytond.pool:setup mixin for "asperpgi8"
DEBUG:trytond.backend.postgresql.database:b'SELECT 1'
DEBUG:trytond.backend.postgresql.database:b'SELECT 1'
INFO:trytond.modules:all modules loaded
INFO:trytond.modules:all modules loaded
DEBUG:trytond.backend.postgresql.database:b'SELECT "a"."id" AS "id", "a"."create_date" AS "create_date", "a"."create_uid" AS "create_uid", "a"."hostname" AS "hostname", "a"."language" AS "language", "a"."product_price_decimal" AS "product_price_decimal", "a"."write_date" AS "write_date", "a"."write_uid" AS "write_uid", CAST(EXTRACT(\'EPOCH\' FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "ir_configuration" AS "a" WHERE true ORDER BY "a"."id" ASC LIMIT 1'
...
Maybe there is something to add to the code but I couldn’t find any more information ?