How to configure logging#