First Time Installation Confusion

RichF
2013-07-06
2013-07-06
  • RichF
    RichF
    2013-07-06

    Hi folks.

    Just installing AWStats for the first time. OSX Server, multiple vhosts, multiple httpd conf files.

    I am running directives like this for rotation:

    CustomLog '|/usr/sbin/rotatelogs -l "/var/log/apache2/access_mydomain.log"5120M' combined
    ErrorLog '|/usr/sbin/rotatelogs -l "/var/log/apache2/error_mydomain.log"5120M'

    So I have a question:

    How do I include in the AWStats config file, the location of all these files? Given that they are rotating every 5 Megs, can I use a wildcard to include all of them somehow? Currently I have the following:

    LogFile="/var/log/apache2/access_mydomain.log"

    It's not finding it because of the suffices the rolover provides. How can I achieve this? I've tried wildcards and nothing will go through.

    Cheers