Revert "remove duplicate method in logger"

This reverts commit 6614b189c199fea585c069ca874b56b93609bcd4.
Taskaler fix (probably fully working now)