Skip to content

Commit

Permalink
feat(pino): removes extraneous stuff (#1212)
Browse files Browse the repository at this point in the history
* fix(logger): delete old files, shift to pino

* fix(pino-pretty): intsall as dev deps

* refactor(tracer): inject logs based on env

* fix(ggsrepair): delete outdated import

* fix(stats-spec): update error log
  • Loading branch information
seaerchin authored Mar 15, 2024
1 parent 4750728 commit 43bda4b
Show file tree
Hide file tree
Showing 13 changed files with 44 additions and 292 deletions.
25 changes: 20 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"start": "node --unhandled-rejections=warn -r ts-node/register/transpile-only -r tsconfig-paths/register -r dotenv/config build/server.js dotenv_config_path=/efs/isomer/.isomer.env",
"start:ecs:prod": "node --unhandled-rejections=warn -r ts-node/register/transpile-only -r tsconfig-paths/register src/server.js",
"start:ecs:staging": "node --unhandled-rejections=warn -r ts-node/register/transpile-only -r tsconfig-paths/register src/server.js",
"start:ecs:dev": "ts-node-dev --respawn src/server.js",
"start:ecs:dev": "ts-node-dev --respawn src/server.js | pino-pretty -c -m message",
"dev": "source .env && docker compose -f docker-compose.dev.yml up",
"test:docker": "docker run -d -p 54321:5432 --name postgres -e POSTGRES_USER=isomer -e POSTGRES_PASSWORD=password -e POSTGRES_DB=isomercms_test postgres:latest",
"test": "source .env.test && jest --runInBand",
Expand Down Expand Up @@ -90,7 +90,6 @@
"pg": "^8.6.0",
"pg-connection-string": "^2.5.0",
"pino": "^8.19.0",
"pino-pretty": "^10.3.1",
"query-string": "^6.14.1",
"reflect-metadata": "^0.1.13",
"sequelize": "^6.29.0",
Expand Down Expand Up @@ -149,6 +148,7 @@
"jest-mock-axios": "^4.5.0",
"lint-staged": "^11.1.2",
"mock-fs": "^5.2.0",
"pino-pretty": "^10.3.1",
"prettier": "2.2.1",
"regenerator-runtime": "^0.13.9",
"sqlite3": "^5.1.5",
Expand Down
42 changes: 0 additions & 42 deletions src/logger/__tests__/logger.spec.ts

This file was deleted.

87 changes: 0 additions & 87 deletions src/logger/cloudwatch.logger.ts

This file was deleted.

15 changes: 0 additions & 15 deletions src/logger/console.logger.ts

This file was deleted.

14 changes: 0 additions & 14 deletions src/logger/constants.ts

This file was deleted.

Loading

0 comments on commit 43bda4b

Please sign in to comment.