I have a command to implement rotatelogs for access logs of apache, but when I am trying to restart my apache server, it doesnt start and throws me an error in error.log as:
The parameter is incorrect. : AH00104: unable to start piped log program 'C:/xampp/apache/bin/rotatelogs C:/xampp/apache/logs/access-%Y-%m-%d-%H_%M_%S 3M'
AH00015: Unable to open logs
The snippet which I am using for rotate log is :
CustomLog "|C:/xampp/apache/bin/rotatelogs C:/xampp/apache/logs/access-%Y-%m-%d-%H_%M_%S 3M" common
NOTE: I am accessing the server setup through XAMPP, and I am using Windows 7
I am sure I am putting some wrong rotatelog command, which I followed from here