Added basic log feature