Hi, Is there a combined apache access & error log?
I can see the per domain logs in /var/log/virtualmin, but the access.log in /var/log/apache2 is empty.
Thanks
Hi, Is there a combined apache access & error log?
I can see the per domain logs in /var/log/virtualmin, but the access.log in /var/log/apache2 is empty.
Thanks
Anyone have any suggestions?
maybe use
mod_journald
to have the output directed to the journal and then query the journal for the information there.
mod_journald docs. I have never bothered to set it up so I don’t know if this will write to the journal as the apache user or as apache itself, if it writes as the apache user then a command such as
journalctl -u <apache_user> (other journalctl options)
will then show a combined output. As I have said this is untested and only a suggestion so it may or may not work, just wondering why do you want a combined output as the files can have different outputs which would make parsing the file a little difficult