changes logger functionality

to a predefined format, which can be consumed by wrappers to analyze
api logs