[syslog-ng]logging problem

niraj syslog-ng@lists.balabit.hu
18 Mar 2005 12:16:35 +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);
  };