Re: is there a way to split access_log into two?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Yes, you can use Apache env vars:
CustomLog "|${cronolog} -z GMT ${logpath}/access.${shost}.%Y%m%d%H" common env=!special_log
CustomLog "|${cronolog} -z GMT ${logpath}/redir.${shost}.%Y%m%d%H" redirFormat env=rd
<location /redir>
SetEnv rd 1
SetEnv special_log 1
</location>
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]