Small modifications on Log Class

Removing notifyall() from the code, which was actually not needed,
adding synchronized to one of the functions which might have a
concurrent access and some small changes.