【问题标题】:How can i get the access.log from the openshift platform如何从 openshift 平台获取 access.log
【发布时间】:2014-11-14 23:47:54
【问题描述】:

我建立了一个应用程序,我选择了php语言。我看到openshift平台使用的是Apache服务器。

现在我想检查 access.log 吗?我怎样才能找到它?

谢谢!

【问题讨论】:

    标签: php apache openshift paas


    【解决方案1】:

    最简单的方法就是从命令行工具运行rhc tail YOUR_APP_NAME

    查看远程服务器上的日志:

    rhc ssh YOUR_APP_NAME # ssh into your app
    cd $OPENSHIFT_LOG_DIR # change to the log directory
    tail -f php.log
    

    【讨论】:

      猜你喜欢
      • 2018-02-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-12-15
      • 2020-07-29
      相关资源
      最近更新 更多