change how default creds for logging are determined