Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

Logging Services -- Invalid Transport #121

Open
fender21 opened this issue Oct 2, 2018 · 0 comments
Open

Logging Services -- Invalid Transport #121

fender21 opened this issue Oct 2, 2018 · 0 comments

Comments

@fender21
Copy link

fender21 commented Oct 2, 2018

I have tried a few different supporting logging systems in this package but all throw the error Invalid Transport. There are many references to this issue on the net but no real clear path to fix this. Has anyone been able to get this working?

Logsene log transport enabled!
{"error":{},"level":"error","message":"uncaughtException: Invalid transport, must be an object with a log method.\nError: Invalid transport, must be an object with a log method.\n at new LegacyTransportStream (/Users/gregg/WebDev/mqlight_vue/node_modules/winston-transport/legacy.js:18:11)\n at DerivedLogger.add (/Users/gregg/WebDev/mqlight_vue/node_modules/winston/lib/winston/logger.js:245:9)\n at Object. (/Users/gregg/WebDev/mqlight_vue/server/core/logger.js:121:9)\n at Module._compile (module.js:653:30)\n at Object.Module._extensions..js (module.js:664:10)\n at Module.load (module.js:566:32)\n at tryModuleLoad (module.js:506:12)\n at Function.Module._load (module.js:498:3)\n at Module.require (module.js:597:17)\n at require (internal/module.js:11:18)","stack":"Error: Invalid transport, must be an object with a log method.\n at new LegacyTransportStream (/Users/gregg/WebDev/mqlight_vue/node_modules/winston-transport/legacy.js:18:11)\n at DerivedLogger.add (/Users/gregg/WebDev/mqlight_vue/node_modules/winston/lib/winston/logger.js:245:9)\n at Object. (/Users/gregg/WebDev/mqlight_vue/server/core/logger.js:121:9)\n at Module._compile (module.js:653:30)\n at Object.Module._extensions..js (module.js:664:10)\n at Module.load (module.js:566:32)\n at tryModuleLoad (module.js:506:12)\n at Function.Module._load (module.js:498:3)\n at Module.require (module.js:597:17)\n at require (internal/module.js:11:18)","exception":true,"date":"Tue Oct 02 2018 01:09:30 GMT-0500 (CDT)","process":{"pid":31822,"uid":501,"gid":20,"cwd":"/Users/gregg/WebDev/mqlight_vue","execPath":"/usr/local/bin/node","version":"v8.12.0","argv":["/usr/local/bin/node","/Users/gregg/WebDev/mqlight_vue/server/index.js"],"memoryUsage":{"rss":44699648,"heapTotal":35028992,"heapUsed":16708208,"external":55567}},"os":{"loadavg":[2.71142578125,2.0048828125,1.828125],"uptime":276056},"trace":[{"column":11,"file":"/Users/gregg/WebDev/mqlight_vue/node_modules/winston-transport/legacy.js","function":"new LegacyTransportStream","line":18,"method":null,"native":false},{"column":9,"file":"/Users/gregg/WebDev/mqlight_vue/node_modules/winston/lib/winston/logger.js","function":"DerivedLogger.add","line":245,"method":"add","native":false},{"column":9,"file":"/Users/gregg/WebDev/mqlight_vue/server/core/logger.js","function":null,"line":121,"method":null,"native":false},{"column":30,"file":"module.js","function":"Module._compile","line":653,"method":"_compile","native":false},{"column":10,"file":"module.js","function":"Module._extensions..js","line":664,"method":".js","native":false},{"column":32,"file":"module.js","function":"Module.load","line":566,"method":"load","native":false},{"column":12,"file":"module.js","function":"tryModuleLoad","line":506,"method":null,"native":false},{"column":3,"file":"module.js","function":"Module._load","line":498,"method":"_load","native":false},{"column":17,"file":"module.js","function":"Module.require","line":597,"method":"require","native":false},{"column":18,"file":"internal/module.js","function":"require","line":11,"method":null,"native":false}]}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant