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:[EMAIL PROTECTED] 
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


Reply via email to