Skip to content

Commit

Permalink
devel: use long options
Browse files Browse the repository at this point in the history
  • Loading branch information
martynia committed Jul 11, 2022
1 parent 9dfab1f commit 50ce8c9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py
Original file line number Diff line number Diff line change
Expand Up @@ -982,11 +982,12 @@ def _getPilotOptions(self, queue, **kwargs):

# Pilot Logging defined? This enables the extended (possibly remote) logger
pilotLogging = opsHelper.getValue("/Services/JobMonitoring/usePilotsLoggingFlag", False)
# -z or --pilotLogging flags enable remote logger
if pilotLogging:
pilotOptions.append("-z ")
pilotOptions.append("--pilotLogging")
# remote logger URL.
remoteLoggerURL = opsHelper.getValue("/Services/JobMonitoring/remoteLoggerURL", "localhost")
pilotOptions.append("-g %s" % remoteLoggerURL)
pilotOptions.append("--loggerURL %s" % remoteLoggerURL)

pilotOptions.append("--pythonVersion=3")

Expand Down

0 comments on commit 50ce8c9

Please sign in to comment.