Skip to main content
used a better example email
Source Link
ThorSummoner
  • 1.2k
  • 1
  • 15
  • 25

I just wanted to clarify, because that's what I got here looking how to do,

Multiple log files are allowed to be specified for a single config, eg

/var/log/httpd/access.log
/var/log/httpd/error.log
/var/log/httpd/mysite/*.log
{
    rotate 5
    mail www@mynobody@example.org
    size 100k
    sharedscripts
    postrotate
        /usr/bin/killall -HUP httpd
    endscript
}

I just wanted to clarify, because that's what I got here looking how to do,

Multiple log files are allowed to be specified for a single config, eg

/var/log/httpd/access.log
/var/log/httpd/error.log
/var/log/httpd/mysite/*.log
{
    rotate 5
    mail www@my.org
    size 100k
    sharedscripts
    postrotate
        /usr/bin/killall -HUP httpd
    endscript
}

I just wanted to clarify, because that's what I got here looking how to do,

Multiple log files are allowed to be specified for a single config, eg

/var/log/httpd/access.log
/var/log/httpd/error.log
/var/log/httpd/mysite/*.log
{
    rotate 5
    mail nobody@example.org
    size 100k
    sharedscripts
    postrotate
        /usr/bin/killall -HUP httpd
    endscript
}
Source Link
ThorSummoner
  • 1.2k
  • 1
  • 15
  • 25

I just wanted to clarify, because that's what I got here looking how to do,

Multiple log files are allowed to be specified for a single config, eg

/var/log/httpd/access.log
/var/log/httpd/error.log
/var/log/httpd/mysite/*.log
{
    rotate 5
    mail [email protected]
    size 100k
    sharedscripts
    postrotate
        /usr/bin/killall -HUP httpd
    endscript
}