Modified log class