Alan Skea wrote: > I got a bit frustrated by the lack of flexibility in the mod_log_config CustomLog >directive. What I wanted was to make logging conditional on multiple environment >variables that get set by different modules, and also to be able to make logging >behaviour depend on the value of the variables rather than just their presence or >absence. > > I decide that the appropriate way to do this was to extend the syntax of the >CustomLog directive as follows:
I don't believe this is necessary. You didn't present a specific use case, but let me try an example: Log only if var1 is set to yes and var2 is not set to no: SetEnvIf var1 yes logme SetEnvIf var2 no !logme CustomLog logs/access_log combined env=logme If that doesn't solve your problem, please be more specific about what the problem is. Joshua.
