Added basic task logging