I have tied this but no luck . Shibi
On Sat, Aug 29, 2009 at 5:48 AM, Adam Prime <adam.pr...@utoronto.ca> wrote: > Shibi NS wrote: > >> My httpd.conf has following >> >> <Perl> >> $ErrorLog = " |bin/rotatelogs >> $config->{log_file}.%Y-%m-%d-%H_%M_%S 5M"; >> #$TransferLog = " |bin/rotatelogs >> $config->{log_accessfile}.%Y-%m-%d-%H_%M_%S 5M"; >> </Perl> >> >> But server start fails >> >> $parms->add_config() has failed: ErrorLog takes one argument, The >> filename of the error log at >> >> /src/linux/lib/perl5/site_perl/5.8.8/i686-linux-64int/Apache2/PerlSections.pm >> line 215.\n >> >> > I'm pretty sure you just need to embed some quotes in that string. > > $ErrorLog = > qq["|bin/rotatelogs $config->{log_file}.%Y-%m-%d-%H_%M_%S 5M"]; > > or something along those lines anyway. > > Adam > -- --Shibi Ns--