perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tue Topholm" ...@device.dk>
Subject SV: SV: Mod_perl + cronolog
Date Thu, 09 Nov 2006 10:34:59 GMT
Sweet, it works just perfect now....

Med venlig hilsen / Best Regards
Tue Topholm
Device.Webbureau
M: +45 26 74 07 41
P: +45 70 21 00 04
LinkedIN: http://www.linkedin.com/in/ttopholm

-----Oprindelig meddelelse-----
Fra: Perrin Harkins [mailto:perrin@elem.com] 
Sendt: 9. november 2006 06:32
Til: Tue Topholm
Cc: modperl@perl.apache.org
Emne: Re: SV: Mod_perl + cronolog

Tue Topholm wrote:
> Any idea what it could be?

I believe Charlie Garrison already told you the answer: you have to 
escape the % symbols in your double-quoted string.  They will be 
interpreted by perl as hashes.

> CustomLog => qq{"|/usr/sbin/cronolog
/home/log/$domain-access_log.%Y-%m-%d"

Try qq{"|/usr/sbin/cronolog /home/log/${domain}-access_log.\%Y-\%m-\%d"} 
instead.

- Perrin



Mime
View raw message