akash-network / console

Deploy docker containers on the Akash Network
https://console.akash.network
Apache License 2.0
84 stars 52 forks source link

Implement logger #140

Closed ygrishajev closed 2 weeks ago

ygrishajev commented 7 months ago

Currently project utilises nodejs console.log for logging with doesn't provide a desired observability or debugging experience. Some of the issues: 1) noisy tests outputs 2) no way to filter or identify logs by levels which complicates decision making 3) logs are simple strings which would complicate indexing if stored in tools like kibana or grafana

A good way to address this would be having a proper logger having common features. One of the good ones is pino.

anilmurty commented 6 months ago
ygrishajev commented 6 months ago

@anilmurty this task is more about app level logs for cloudmos services. Infrastructure for managing logs is a different story. Clients' deployments logs is even more further topic.

hiroyukikumazawa commented 6 months ago

I will do this, assign me plz.

ygrishajev commented 2 months ago

This one is resolved for the api already. Now we need to put that logger into a package and reuse in other apps.