增加日志长度
Increase log length
与
cf log APPNAME --recent
我可以转储 Loggreggator 缓冲区的最后 ~200 行。我想知道如何增加此限制或如何将日志保存在其他地方以便完全控制我的日志。
谢谢
Once your application is deployed and somewhat stable you will want to
use a logging service. There are a couple of reasons for wanting to
use a logging service. The first reason is using cf logs appName
–recent will only allow you to see so far back in your logs. The only
way to view logs of your app over a long period of time is to use a
logging service.
Accessing Application Logs -> Using Persistent Logging Services
不用担心 IBM Blumemix,它也由 CF 提供支持,就像 Swisscom App Cloud。
Swisscom 提供用于日志历史记录的 ELK 服务。使用 CF CLI 客户端,您没有长期的历史记录。
The ELK stack consisting of Elasticsearch, Logstash, and Kibana gives
the power of centralising log data and provides real-time data
insights with intuitive dashboard and robust search capabilities.
另请参阅包含 howto 的博文 ict.swisscom.ch
与
cf log APPNAME --recent
我可以转储 Loggreggator 缓冲区的最后 ~200 行。我想知道如何增加此限制或如何将日志保存在其他地方以便完全控制我的日志。
谢谢
Once your application is deployed and somewhat stable you will want to use a logging service. There are a couple of reasons for wanting to use a logging service. The first reason is using cf logs appName –recent will only allow you to see so far back in your logs. The only way to view logs of your app over a long period of time is to use a logging service.
Accessing Application Logs -> Using Persistent Logging Services
不用担心 IBM Blumemix,它也由 CF 提供支持,就像 Swisscom App Cloud。
Swisscom 提供用于日志历史记录的 ELK 服务。使用 CF CLI 客户端,您没有长期的历史记录。
The ELK stack consisting of Elasticsearch, Logstash, and Kibana gives the power of centralising log data and provides real-time data insights with intuitive dashboard and robust search capabilities.
另请参阅包含 howto 的博文 ict.swisscom.ch