Fixed crash where logger tried to create log when already created, or disabled