log format configuration
refactor logging
do not use eval for log formatting