improved logging object: logging only chosen events