node.js - Download custom log files from openshift -


when use logging modules (eg winston) , write custom log files (rotating names based on date), how can download dynamically generated files openshift?

you store logs in $openshift_data_dir (~/app-root/data) on gear, , rsync them local machine:

rsync -avzh ssh <gearid>@<appname>-<domain>.rhcloud.com:~/app-root/data/ /path/to/dir 

Comments

Popular posts from this blog

Linux vanilla kernel on QEMU and networking with eth0 -

rdbms - what exactly the undo information lives in oracle? -

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -