#NestJS Logging
1 messages · Page 1 of 1 (latest)
Project ID: 8059b46b-5bdb-488c-b3c0-efafad9c2917
8059b46b-5bdb-488c-b3c0-efafad9c2917
just to confirm the initial logs work, but logs that I have in services or resolvers don't
are you using any kind of logging framework?
winston
but even when i was using the default logger, logs still werent coming through
ah thought so, I've seen people have trouble with Winston, make sure you are logging to stdout/stderr without any kind of buffering
what framework would you recommend ?
console.log() and console.error()
but i have a default stdout in the main.ts file that logs successfully, but anywhere else it doesnt
just to double check i see the application logs in the deploy logs in the observability tab right ?
in either the deployment logs or observability tab, yes
try this