Merge pull request #4400 from Jalle19/fix-log-messages

Fix some erroneous log messages
Merge pull request #4428 from Montellese/jsonrpc_optional_logging

JSON-RPC: make logging of incoming requests optional and configurable