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

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

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -