add some new logging features
add new logging features