refactored log event parameters