我们使用的是/usr/local/apache2.4/conf/extra/httpd-vhosts.conf
配置文件下的第二段配置,它的日志在/usr/local/apache2.4/logs/
下面
日志格式可以自定义,在主配置文件中进行配置
配置文件中提供2中日志格式,默认使用的是common
另一种格式除了有这些功能,还有user-agent用户代理,referer指访问它之前搜索的一串网址,在你访问到的站点会有日志记录
把CustomLog "logs/111.com-access_log" common 修改为 CustomLog "logs/111.com-access_log" combined