diff --git a/ObservatoryCore/LogMonitor.cs b/ObservatoryCore/LogMonitor.cs index f962d05..af6b9b8 100644 --- a/ObservatoryCore/LogMonitor.cs +++ b/ObservatoryCore/LogMonitor.cs @@ -425,7 +425,7 @@ namespace Observatory { FileInfo fileToPoke = null; - foreach (var file in journalFolder.GetFiles("Journal.????????????.??.log")) + foreach (var file in journalFolder.GetFiles("Journal.*.??.log")) { if (fileToPoke == null || string.Compare(file.Name, fileToPoke.Name) > 0) { diff --git a/ObservatoryCore/ObservatoryCore.csproj b/ObservatoryCore/ObservatoryCore.csproj index 24a630a..156f150 100644 --- a/ObservatoryCore/ObservatoryCore.csproj +++ b/ObservatoryCore/ObservatoryCore.csproj @@ -13,7 +13,7 @@ - 0.1.$([System.DateTime]::UtcNow.DayOfYear.ToString()).$([System.DateTime]::UtcNow.ToString(HHmm)) + 0.2.$([System.DateTime]::UtcNow.DayOfYear.ToString()).$([System.DateTime]::UtcNow.ToString(HHmm)) 0.0.0.1 $(VersionSuffix) 0.0.1.0