mirror of
https://github.com/enso-org/enso.git
synced 2025-01-03 12:34:06 +03:00
[WIP] Even more verbose logging for creating projects
This commit is contained in:
parent
177487016a
commit
a7067c8472
@ -46,7 +46,7 @@ case class Command(
|
||||
timeoutInSeconds: Option[Long] = Some(300)
|
||||
): Try[(Int, String)] =
|
||||
wrapError {
|
||||
logger.debug("Executing {}", this)
|
||||
logger.error("Executing {}", this)
|
||||
val processBuilder = builder()
|
||||
val process = processBuilder.start()
|
||||
val wrappedProcess = new WrappedProcess(command, process)
|
||||
|
@ -10,14 +10,10 @@ import org.slf4j.event.Level
|
||||
|
||||
import java.net.URI
|
||||
import org.enso.runtimeversionmanager.components.Manifest.JVMOptionsContext
|
||||
import org.enso.runtimeversionmanager.components.{
|
||||
Engine,
|
||||
GraalRuntime,
|
||||
RuntimeVersionManager
|
||||
}
|
||||
import org.enso.runtimeversionmanager.components.{Engine, GraalRuntime, RuntimeVersionManager}
|
||||
import org.enso.runtimeversionmanager.config.GlobalRunnerConfigurationManager
|
||||
|
||||
import java.nio.file.Path
|
||||
import java.nio.file.{Files, Path}
|
||||
import scala.concurrent.duration.DurationInt
|
||||
import scala.concurrent.{Await, Future, TimeoutException}
|
||||
import scala.util.Try
|
||||
@ -231,7 +227,10 @@ class Runner(
|
||||
val extraEnvironmentOverrides =
|
||||
javaHome.map("JAVA_HOME" -> _).toSeq ++ distributionSettings.toSeq
|
||||
|
||||
Logger[Runner].error("Starting command: {}", command)
|
||||
val logger = Logger[Runner]
|
||||
logger.error("Starting command: {}", command)
|
||||
val allComponents = Files.list(componentPath).map(_.getFileName).toList
|
||||
logger.error("Contents of component dir: [{}]", allComponents)
|
||||
action(
|
||||
Command(
|
||||
command,
|
||||
|
Loading…
Reference in New Issue
Block a user