Adding log.py

@Lugoues noticed that I forgot to add the log.py. Here it is.