Updated readme and exmaple with parametrized log