Logger statements don't automatically go to the gateway; you're just creating a logger in the local scope: