You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 28, 2021. It is now read-only.
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}]}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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}]}
The text was updated successfully, but these errors were encountered: