Hi there,
I have a custom apache config that I add to the image:
ADD ./docker/apache/custom.conf /etc/apache2/docker.d/custom.conf
The contents of this file is;
LogFormat "{ \"time\":\"%t\", \"remoteIP\":\"%a\", \"host\":\"%V\", \"request\":\"%U\", \"query\":\"%q\", \"method\":\"%m\", \"status\":\"%>s\", \"userAgent\":\"%{User-agent}i\", \"referer\":\"%{Referer}i\", \"originalUri\": \"%{Plugin-Original-Uri}i\" }" combined
CustomLog ${APACHE_ACCESS_LOG} combined
However, I cannot see the json logs in the terminal when visiting a page. What can I do to achieve this?
Hi there,
I have a custom apache config that I add to the image:
The contents of this file is;
However, I cannot see the json logs in the terminal when visiting a page. What can I do to achieve this?