defined log variable in __init__ which is used later on
Merge pull request #21 from piquadrat/feature/fix-log-var

defined log variable in __init__ which is used later on