diff --git a/supportedBackends/google/batch/src/main/scala/cromwell/backend/google/batch/models/GcpBatchJobPaths.scala b/supportedBackends/google/batch/src/main/scala/cromwell/backend/google/batch/models/GcpBatchJobPaths.scala index 6da61d9bcf..7f5f4efdf9 100644 --- a/supportedBackends/google/batch/src/main/scala/cromwell/backend/google/batch/models/GcpBatchJobPaths.scala +++ b/supportedBackends/google/batch/src/main/scala/cromwell/backend/google/batch/models/GcpBatchJobPaths.scala @@ -4,6 +4,7 @@ import cromwell.backend.BackendJobDescriptorKey import cromwell.backend.google.batch.runnable.GcpBatchMetadataKeys import cromwell.backend.io.JobPaths import cromwell.core.path.Path +import cromwell.services.metadata.CallMetadataKeys object GcpBatchJobPaths { @@ -40,10 +41,13 @@ case class GcpBatchJobPaths(override val workflowPaths: GcpBatchWorkflowPaths, val jesMonitoringLogFilename: String = s"${GcpBatchJobPaths.BatchMonitoringKey}.log" lazy val jesMonitoringLogPath: Path = callExecutionRoot.resolve(jesMonitoringLogFilename) - override lazy val customMetadataPaths = + override lazy val customMetadataPaths = Map( + CallMetadataKeys.BackendLogsPrefix + ":log" -> batchLogPath + ) ++ ( workflowPaths.monitoringScriptPath map { p => Map(GcpBatchMetadataKeys.MonitoringScript -> p, GcpBatchMetadataKeys.MonitoringLog -> jesMonitoringLogPath) } getOrElse Map.empty + ) override def standardOutputAndErrorPaths: Map[String, Path] = super.standardOutputAndErrorPaths map { case (k, v) =>