logging for performance analysis