-
Notifications
You must be signed in to change notification settings - Fork 214
log4js can't get output. #894
Comments
@lubo08 Could you share a sample of your project so we can see if Neutrino is the one interfering here? |
I just follow instruction how create neutrino project and then put log4js as describe on their page. I discover that if I set this parameter in log4js config it start working "disableClustering": true . |
Hi! Unfortunately there are quite a few details missing from this bug report - that were asked in the issue template that was deleted (it's worth noting that some open source projects immediately close any issues where the template was removed, so I'd generally recommend not deleting it). For example:
|
Hi
|
Thank you for the extra info. When using the node preset, The current version of start-server-webpack-plugin uses the node cluster API to start the server: From reading log4js-node/log4js-node#265 and https://log4js-node.github.io/log4js-node/faq.html it sounds like If I try with It looks like the next major version of start-server-webpack-plugin will switch from I also tried with Neutrino |
Thank you for explanation. You are true. At the beginning I was so confused as there was no error no logs, nothing. So I have to run log4js in debug mode to discover this clustering behaviour. But hope this could help also somebody else :). So this issue could be closed as solved. |
It must have been a pain to track down! Glad you have it working now - and agree this will give something for people to search against (there is nothing currently in the log4js or start-server-webpack-plugin issue trackers, nor on Stack Overflow). |
I'm using just plain new neutrino node js project, I try ale with web project, When I use log4js I'm not able get to run logging to console even to file. Can somebody help with example how implement log4js into neutrino project?
The text was updated successfully, but these errors were encountered: