Configuring multiple logs in Apache

0

I'm working on an internal network where 3 applications are running on the Apache server. I would like to be able to analyze the log generated by Apache separately for each application, but since I do not have access to the DNS server the Apache settings are in the default file: 000-default.conf .

In this case would it be possible to specify in this file where to save this log separately? Something like:

<Directory /home/user/www/app1/>
     ...
     ErrorLog /home/user/www/app1/storage/
</Directory>

<Directory /home/user/www/app2/>
     ...
     ErrorLog /home/user/www/app2/storage/
</Directory>
    
asked by anonymous 12.11.2015 / 21:06

0 answers