Question

I deleted my ~/nodejs/logs/node.log file in OpenShift server because it's too big. Now even if I restart my gear, it doesn't log to file anymore. I tried creating a new file node.log and chmod 777 node.log but still nothing. Any idea?

Before it was working (delete log file, restart server, log file is created again), now I think it's broken. I can replicate it in several OpenShift nodejs gears.

Additional info: I use log4js v0.6.x, OpenShift nodejs gear 0.10

Was it helpful?

Solution

OpenShift gears have changed logging to point to a new standard location, see this blog post for details: https://www.openshift.com/blogs/new-features-for-april-2014

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top