Version 2.0.x evowebservices bug with plugins not logging stuff to the log and fix

Version 2.0.x evowebservices bug with plugins not logging stuff to the log and fix

Support ForumCategory: Usage and FeaturesVersion 2.0.x evowebservices bug with plugins not logging stuff to the log and fix
keiser asked 2 weeks ago
Hi guys, after setting up v2.0.1 I have been testing with EvoWebServices plugins (written in nodejs) and have noticed logs are not written. Checked you code and found out (correct me please if I’m wrong) that app.js application block for initializing¬†evowebservices block:
var routes = require(‘./routes/index’);
// var users = require(‘./routes/users’);
var evowebservices = require(‘./routes/evowebservices’);
should be much lower (LN: 72) after winston¬† has been initialized to get proper logs lines.   Regards, K.



2 Answers
erika Staff answered 2 weeks ago
Hi keiser! May we ask for the OS you are using? Have checked in our end and logs are working well. Regards,
keiser answered 2 weeks ago
Hi Erika, I’m using windows. I did check logs and actually that’s how I found out problem with missing logs. After making the proposed change, I got log lines which were expected.   K.

Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.