Fixed all log entry code

Signed-off-by: martingronlund <martingronlund@live.se>