Skip to content

[Feature]: Reduce log level from WARNING to INFO or DEBUG in case job executable is not a local file #8444

@maxnoe

Description

@maxnoe

User Story

When submitting a job with an executable that is not a local script, DIRAC creates a warning:

if os.path.exists(executable):
self.log.verbose(f"Found script executable file {executable}")
self.addToInputSandbox.append(executable)
logName = f"{os.path.basename(executable)}.log"
else:
self.log.warn("The executable code could not be found locally")
logName = "CodeOutput.log"

However, I think for most jobs, this is actually the expected case? I.e. the executable will be software installed on cvmfs.

Feature Description

Could we tune down the level of this message to INFO or DEBUG?

Definition of Done

No response

Alternatives Considered

No response

Related Issues

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions