add logging configuration close #3