mod_auth_mellon icon indicating copy to clipboard operation
mod_auth_mellon copied to clipboard

MellonDiagnosticsFile value issue

Open 3eka opened this issue 5 years ago • 0 comments

Hi,

I have tried to use cronolog for MellonDiagnosticsFile file, like:

MellonDiagnosticsFile    "|/usr/local/sbin/cronolog /var/log/mellon-diag.%Y%m%d.log"

like is already used for CustomLog and ErrorLog directives (apache 2.4). Unfortunately, mod_auth_mellon throws error:

(2)No such file or directory: could not open mellon diagnostics log file /usr/local/apache/|/usr/local/sbin/cronolog /var/log/mellon-diag.%Y%m%d.log

So, my questions is: how to use piped program? Seems module adds/uses value of ServerRoot variable as prefix.

Thanks in advance:

P.S: Documentation says:

# If the value is preceeded by the pipe character "|" it should be followed
# by a path to a program to receive the log information on its standard input.

3eka avatar Nov 06 '20 15:11 3eka