Switch puts to log