refactored logger message infrastructure
fixed incorrect previous commit