Skip to content

Issue 3387: Custom logging package - #3409

Closed
santail wants to merge 14 commits into
developfrom
nikolai/3387-Custom-logging-package
Closed

Issue 3387: Custom logging package#3409
santail wants to merge 14 commits into
developfrom
nikolai/3387-Custom-logging-package

Conversation

@santail

@santail santail commented Jun 23, 2025

Copy link
Copy Markdown
Contributor

Issue tracking

#3387

Context behind the change

Create a custom logging package that will be reused in services and oracles

How has this been tested?

While running application locally, verified log is written
Checked errors logs are written
Verified logger.info is called properly and logs are written respectively

Release plan

Nothing special, all dependencies should be there.

Potential risks; What to monitor; Rollback plan

Some logs are missing due to misuse in code

@santail
santail requested a review from portuu3 June 23, 2025 14:40
@vercel

vercel Bot commented Jun 23, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
human-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2025 4:39pm
human-dashboard-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2025 4:39pm
staking-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2025 4:39pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
faucet-frontend ⬜️ Ignored (Inspect) Visit Preview Jul 3, 2025 4:39pm
faucet-server ⬜️ Ignored (Inspect) Visit Preview Jul 3, 2025 4:39pm

@santail
santail requested review from flopez7 and portuu3 and removed request for portuu3 June 23, 2025 14:40
@vercel
vercel Bot temporarily deployed to Preview – human-dashboard-frontend June 23, 2025 17:30 Inactive
@vercel
vercel Bot temporarily deployed to Preview – staking-dashboard June 23, 2025 17:30 Inactive
@vercel
vercel Bot temporarily deployed to Preview – human-app June 23, 2025 17:30 Inactive

@flopez7 flopez7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, the code looks good.
Anyway, I suggest updating the logger initialization so each service can specify its own service name. This way, logs will clearly indicate which service they belong to, making it much easier to trace issues in a multi-service environment.
It would be great if the logger library exposed a function to create a logger instance with a custom service name, and then we could use that in each main.ts (e.g., createServiceLogger('job-launcher'))

@vercel
vercel Bot temporarily deployed to Preview – human-app June 25, 2025 15:22 Inactive
@vercel
vercel Bot temporarily deployed to Preview – human-dashboard-frontend June 25, 2025 15:22 Inactive
@vercel
vercel Bot temporarily deployed to Preview – staking-dashboard June 25, 2025 15:22 Inactive
@santail
santail requested a review from flopez7 June 25, 2025 15:23
@vercel
vercel Bot temporarily deployed to Preview – staking-dashboard June 25, 2025 15:51 Inactive
@vercel
vercel Bot temporarily deployed to Preview – human-dashboard-frontend June 25, 2025 15:51 Inactive
@vercel
vercel Bot temporarily deployed to Preview – human-app June 25, 2025 15:51 Inactive
@vercel
vercel Bot temporarily deployed to Preview – human-app July 3, 2025 16:18 Inactive
@vercel
vercel Bot temporarily deployed to Preview – human-dashboard-frontend July 3, 2025 16:18 Inactive
@vercel
vercel Bot temporarily deployed to Preview – staking-dashboard July 3, 2025 16:18 Inactive
@portuu3

portuu3 commented Jul 3, 2025

Copy link
Copy Markdown
Collaborator

@dnechay could you please take a quick look? just to make sure what you did for logging is not broken

@dnechay

dnechay commented Jul 7, 2025

Copy link
Copy Markdown
Collaborator

Closing in favor of #3451

@dnechay dnechay closed this Jul 7, 2025
@dnechay
dnechay deleted the nikolai/3387-Custom-logging-package branch July 7, 2025 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants