I have a log file open in glogg v1.1.1. Log file is created with NLog and with archiving settings that should occasionally move the file and create a new one. But glogg prevents that, because it locks the file. Glogg prevents any kind of moving the file, for instance renaming the file in Explorer. I do need to move the file while glogg is open though. This is written in internal NLog log file:
2016-10-19 11:24:50.2737 Info Archiving <path to log file> to <path to archived log file>
2016-10-19 11:24:50.2737 Error Error has been raised. Exception: System.IO.IOException: The process cannot access the file because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.Move(String sourceFileName, String destFileName)
at NLog.Targets.FileTarget.ArchiveFile(String fileName, String archiveFileName)
at NLog.Targets.FileTarget.TryArchiveFile(String fileName, LogEventInfo ev, Int32 upcomingWriteSize)
at NLog.Targets.FileTarget.ProcessLogEvent(LogEventInfo logEvent, String fileName, Byte[] bytesToWrite)
at NLog.Targets.Target.Write(AsyncLogEventInfo logEvent)
That "another process" is glogg, because the rolling works if glogg is closed. To test just try to rename the file while it's open in glogg.