log into a logger not use put