loggin only on stdout