I have an Express server which is running on IIS via iisnode. At the starting point, I have included logging to file to indicate whether MongoDB has been successfully booted.
It works without issue when I try this on my development PC (without IIS), but it seems file is not written or created when you start Express using IIS, at least not until a request is made, then the log file appears.
Is there a workaround for this?Thanks.