def _get_logging_env(self, logging_uri, user_project):
if not logging_uri.endswith('<STR_LIT>'):<EOL><INDENT>raise ValueError('<STR_LIT>'.format(logging_uri))<EOL><DEDENT>logging_prefix = logging_uri[:-len('<STR_LIT>')]<EOL>return {<EOL>'<STR_LIT>': '<STR_LIT>'.format(logging_prefix),<EOL>'<STR_LIT>': '<STR_LIT>'.format(logging_prefix),<EOL>'<STR_LIT>': '<STR_LIT>'.format(logging_prefix),<EOL>'<STR_LIT>': user_project,<EOL>}<EOL>
Returns the environment for actions that copy logging files.