[syslog-ng]problem in logging apache-log

niraj syslog-ng@lists.balabit.hu
18 Mar 2005 12:20:30 +0530


Hi

  I want to log access log of apache with the help of syslog-ng.But it
is not working.I have added the code below.

TIA
Niraj



source apachesrc{
                                                                                                                               file("/var/log/httpd/access_log");                                                                     
   };


                                                                                                                              destination destfile{
                                                                                                                             
          file("apache-ng.log");
            };
                                                                                                                                                                                                                                                          
log {
                                                                                                                             
   source(apachesrc);
   destination(destfile);
  };