Information - 23.02.2026
This version brings modern Position Tracking, automatic log rotation detection, and improved transparency through new Event-IDs.
New Features
- Position Tracking: The system remembers the last read position in the log file. With each scan, only new lines are read – this prevents duplicate alarms and improves performance by a factor of 60.
- Automatic Log Rotation Detection: When log files are recreated daily or hourly, the system automatically detects this and resets the position (Event-ID 1015).
- File.GetLastWriteTime() Fallback: For log files without timestamps in their lines, the file modification time is used for time window verification.
- Log File Monitoring: New configuration parameters logfile, logstring, and casesensitiv replace the previous Windows Event parameters.
Improvements
- New Event-IDs for better transparency:
- 1014: Log scan completed successfully (match found)
- 1015: Log rotation detected, position reset
- 3002: Log file problem (not found, access error)
- Bilingual Event Log messages: All Windows Events appear in German or English based on the configuration (language).
- Extended documentation: New documents for Position Tracking, Event-IDs, and PowerShell script Get-LMNEvents.ps1 for exporting Event Logs to JSON/CSV.
- State Management: Position files are stored under C:\ProgramData\LMN\state\ and survive service restarts.
Technical Changes
- Configuration parameters logevent and logid have been replaced by logfile, logstring, and casesensitiv.
- Event Log entries now show the detection method (line timestamp vs. file modification time).
- Position Tracking uses hash-based state files for unique association with log files.
Documentation
- Manual completely updated with log file monitoring and workflow explanation.
- New documentation: WINDOWS-EVENTLOG-REFERENCE.md, POSITION-TRACKING-GUIDE.md, POSITION-TRACKING-SCHNELLSTART.md.
- PowerShell script Get-LMNEvents.ps1 updated with new Event-IDs.
Important Notes
- Recommendation: The value loglasttime should be 3-4× larger than timertime, e.g., timertime=5 and loglasttime=15.
- When updating from version 1.1.x: Check configuration template under C:\Program Files\Log Mail Notification\Example_LogMailNotification.config.