reduce logs

This commit is contained in:
Hongbo Wu
2022-04-05 23:20:32 +08:00
parent 0b5acd941d
commit a269ba2707
2 changed files with 1 additions and 2 deletions

View File

@ -69,7 +69,6 @@ jobs:
yarn build
yarn lint
yarn test
continue-on-error: true
env:
PG_HOST: localhost
PG_PORT: ${{ job.services.postgres.ports[5432] }}

View File

@ -52,7 +52,7 @@ const createEntityConnection = async (): Promise<void> => {
username: process.env.PG_USER,
password: process.env.PG_PASSWORD,
database: process.env.PG_DB,
logging: ['query', 'info'],
logging: ['error'],
entities: [__dirname + '/../src/entity/**/*{.js,.ts}'],
subscribers: [__dirname + '/../src/events/**/*{.js,.ts}'],
namingStrategy: new SnakeNamingStrategy(),