Bugfix: replace log by logger