diff --git a/Controllers/HanyadikHetVanController.cs b/Controllers/HanyadikHetVanController.cs index be73c6f..338c6bc 100644 --- a/Controllers/HanyadikHetVanController.cs +++ b/Controllers/HanyadikHetVanController.cs @@ -21,7 +21,7 @@ namespace hanyadikhetvan.Controllers [HttpGet] public HanyadikHetVan Get() { - Console.WriteLine(DateTime.Parse(Environment.GetEnvironmentVariable("HANYADIKHET_STARTDATE"))); + _logger.LogWarning(DateTime.Parse(Environment.GetEnvironmentVariable("HANYADIKHET_STARTDATE")).ToString()); return new HanyadikHetVan(); } }