Changed the frontend query and reply logging options to be settable at runtime.
Frontend option to log query handling timing information.
Backend option to log total query handling time.