arrange configuration and logging
arrange configuration and logging