Added request based logging