문제

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

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top