PEP-Proxy-Steelskin Log configuration

前提是你 提交于 2019-12-11 09:06:28

问题


I am configuring the FIWARE PEP-Proxy-steelskin without RPM, due it is installed in a Ubuntu machine. After the installation, no log appears in /var/log/pepProxy , and I am afraid this is because of the installation.

Is there a way to create the log without RPM?


回答1:


It is indeed. Steelskin does not log to a particular file, but to the standard output. That's why you are not seeing any log in /var/log. In order to get the log, just make a redirection of the standard output:

nohup bin/pepProxy &> /var/log/pepProxy.log

In this case, you would need to manage the logs using externals tools, like logrotate, the same way it is done in the RPM spec.



来源:https://stackoverflow.com/questions/30888451/pep-proxy-steelskin-log-configuration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!