【发布时间】:2020-04-24 19:29:47
【问题描述】:
我的 Docker 在其 vhost.conf 中有以下内容
<VirtualHost *:80>
// ...(snipped)
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
通过docker exec 在/var/log/apache 中查看这些,执行ls -l 显示:
access.log -> /dev/stdout
error.log -> /dev/stderr
这是什么意思,是否可以查看其内容?
【问题讨论】: