add logging configuration