Query profile logger to be initialized or not