Custom Logs for Apache Virtual Host

Let's say you have a few apps running on Apache under the VirtualHost configuration. If you'd like to have logging for these apps written to a particular directory and file name, you can make an entry under the VirtualHost section within the sites-available directory.

There are a variety of logger settings that can be configured as well - find them here.