Filter log data before sending to log handler #574

Allow connectors/plugins to plug-in and override log data for any connector.