fix #50: logging