Created logging mechanism