PEP-Proxy-Steelskin日志配置 [英] PEP-Proxy-Steelskin Log configuration
问题描述
我正在配置不带RPM的FIWARE PEP-Proxy-steelskin,因为它已安装在Ubuntu计算机中. 安装后,/var/log/pepProxy中没有日志出现,而且恐怕是由于安装所致.
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.
是否可以在没有RPM的情况下创建日志?
Is there a way to create the log without RPM?
推荐答案
确实如此. Steelskin不会记录到特定文件,而是记录到标准输出.这就是为什么您在/var/log中看不到任何日志的原因.为了获取日志,只需对标准输出进行重定向:
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
在这种情况下,您需要使用外部工具(例如logrotate)来管理日志,就像在RPM规范中一样.
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.
这篇关于PEP-Proxy-Steelskin日志配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!