No announcement yet.

redirect the apache custom logs into external program

  • Filter
  • Time
  • Show
Clear All
new posts

  • redirect the apache custom logs into external program


    We have to redirect the Apache custom log into our external console application in order to format and limit the logs in windows machine. So we include the following lines httpd.conf file and restarted the visualsvn server.

    LogFormat "%u %h %t" svnLog
    CustomLog "|C:\LogApplication\LimitLog.exe" svnLog

    In LimitLog application, we read the arguments from the console, format and write into the configured file. But file is not generated and we found that the application itself not getting called.

    Any other setup is needed to support this ?

  • #2
    Have you already set the location of the logfile in LimitLog? If not you *may* need to give it that location as a second argument inside the quotes. Aside from that, provided the location of the exe file is correct I can't see anything obvious I'm afraid.