moved log initialization into static constructor of log class
moved variable into property