loggging and postprocessors refactor