Finally added the option 'enable_request_logging' into the config file and the request logger can now be enabled or disabled.