make log a member variable

- addresses comments