M
MastraAIthis hour
Vulcano

MastraBase uses a hardcoded ConsoleLogger instead of the configured logger(s)

In the file: packages/core/src/base.ts, I see a hard-coded use of this.logger = new ConsoleLogger(...). Is this intended? This has as an effect that uncaught errors are not sent to my PinoLogger that I configured. My question is: is this intentional? Am I supposed to also have a Sentry/AppSignal wrapper in my node environment for the error monitoring separately?
1 Reply
Mastra Triager
Mastra Triager20h ago
GitHub
[DISCORD:1430460120256479274] MastraBase uses a hardcoded ConsoleLo...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1430460120256479274 In the file: packages/core/src/base.ts, I see a hard-coded use of this.logger = new Co...

Did you find this page helpful?