Added linux support for unit. Updated toString method of LogEntity