Moves container logs into log folder.

This commit is contained in:
benbierens 2023-09-01 09:28:04 +02:00
parent a29d646027
commit a26d38b749
No known key found for this signature in database
GPG Key ID: FE44815D96D0A1AA
2 changed files with 6 additions and 2 deletions

View File

@ -142,7 +142,9 @@ namespace ContinuousTests
private void DownloadClusterLogs()
{
var k8sFactory = new K8sFactory();
var lifecycle = k8sFactory.CreateTestLifecycle(config.KubeConfigFile, config.LogPath, "dataPath", config.CodexDeployment.Metadata.KubeNamespace, new DefaultTimeSet(), new NullLog());
var log = new NullLog();
log.FullFilename = Path.Combine(config.LogPath, "NODE");
var lifecycle = k8sFactory.CreateTestLifecycle(config.KubeConfigFile, config.LogPath, "dataPath", config.CodexDeployment.Metadata.KubeNamespace, new DefaultTimeSet(), log);
foreach (var container in config.CodexDeployment.CodexContainers)
{

View File

@ -6,9 +6,11 @@
{
}
public string FullFilename { get; set; } = "NULL";
protected override string GetFullName()
{
return "NULL";
return FullFilename;
}
public override void Log(string message)