On a development server, I'd like to turn logging on only when needed for specific debugging operations. One way I can think of is Apache checks for the existence of certain dotfile somewhere and decides no a SetEnvIf dontlog variable value based on that. How would I configure this or is there a more optimal way?
I'd like to avoid a full-server reload to toggle this switch.