Adding logger