revised logger