more logger

added and changed some thing in the logger

Not sure about how I did things, never messed much with a logger like
this.