Modififed logger