-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Labels
bounty:$20Bounty applies for fixing this issue (Parse Bounty Program)Bounty applies for fixing this issue (Parse Bounty Program)type:bugImpaired feature or lacking behavior that is likely assumedImpaired feature or lacking behavior that is likely assumed
Description
Im trying to integrate the default winston logger with the Google Cloud stack driver adapter but cant figure out how to integrate it
Do you guys have any pointers on this library ?
https://github.com/googleapis/nodejs-logging-winston
trying this at the moment but its not working
var WinstonLoggerAdapter = require('parse-server/lib/Adapters/Logger/WinstonLoggerAdapter');
const {LoggingWinston} = require('@google-cloud/logging-winston');
const loggingWinston = new LoggingWinston();
....
loggerAdapter: {
module: WinstonLoggerAdapter,
options: {
level: 'info',
jsonLogs: true,
transports: [
// Add Stackdriver Logging
loggingWinston,
],
},
},
JeffGuKang, ricmatsui and dsyrstad
Metadata
Metadata
Assignees
Labels
bounty:$20Bounty applies for fixing this issue (Parse Bounty Program)Bounty applies for fixing this issue (Parse Bounty Program)type:bugImpaired feature or lacking behavior that is likely assumedImpaired feature or lacking behavior that is likely assumed