Changed logging usage