Rework logging, now it work's from the start. View logging create later.