add logging.conf
add some code