Skip to content

Commit b8c6206

Browse files
committed
simplify
1 parent a4eacd6 commit b8c6206

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

supportedBackends/google/batch/src/main/scala/cromwell/backend/google/batch/models/GcpBatchJobPaths.scala

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,9 @@ case class GcpBatchJobPaths(override val workflowPaths: GcpBatchWorkflowPaths,
2020
override val isCallCacheCopyAttempt: Boolean = false
2121
) extends JobPaths {
2222

23-
def batchLogBasename = {
24-
val index = jobKey.index
25-
.map(s => s"-$s")
26-
.getOrElse("")
27-
s"${jobKey.node.localName}$index"
28-
}
29-
3023
override def implementsTaskLogging: Boolean = true
3124

32-
val batchLogFilename: String = s"$batchLogBasename.log"
25+
val batchLogFilename: String = "task.log"
3326
lazy val batchLogPath: Path = callExecutionRoot.resolve(batchLogFilename)
3427

3528
val batchMonitoringLogFilename: String = s"${GcpBatchJobPaths.BatchMonitoringKey}.log"

0 commit comments

Comments
 (0)