added ip to logs and created new logging-endpoint 'query_activated'