为 LIGHTPD 服务器启用调试打印
Enabling debug prints for LIGHTTPD server
我在 ARM 中设置了一个 lighttpd 服务器 设备。服务器设置成功。现在我启用了 lighttpd 配置文件中的所有调试打印以跟踪服务器活动。所有这些调试打印都可以在 error.log 文件中看到。有什么方法可以让我在这些日志发生时将它们直接打印到我的终端。
由于 lighttpd 被设计为 运行 作为一项服务,我怀疑实现此目的的最佳方法是 运行 tail -f on error.log. This may not be ideal as if you have multiple virtual hosts running on one lighttpd install you will have every sites debug log in amongst the wanted messages. Sadly, there is currently no way to have a separate error log for each vHost, although this has been requested as a feature.
我在 ARM 中设置了一个 lighttpd 服务器 设备。服务器设置成功。现在我启用了 lighttpd 配置文件中的所有调试打印以跟踪服务器活动。所有这些调试打印都可以在 error.log 文件中看到。有什么方法可以让我在这些日志发生时将它们直接打印到我的终端。
由于 lighttpd 被设计为 运行 作为一项服务,我怀疑实现此目的的最佳方法是 运行 tail -f on error.log. This may not be ideal as if you have multiple virtual hosts running on one lighttpd install you will have every sites debug log in amongst the wanted messages. Sadly, there is currently no way to have a separate error log for each vHost, although this has been requested as a feature.