Change log getter to it's own module