fixed mulitple calls to processLogs to not log twice

fixes #2594