[GH-ISSUE #8] Module doesn't read several files #2

Open
opened 2026-06-06 22:10:32 -04:00 by yindo · 1 comment
Owner

Originally created by @Arkweid on GitHub (Dec 7, 2022).
Original GitHub issue: https://github.com/vxcontrol/soldr-modules/issues/8

Originally assigned to: @souryogurt on GitHub.

Module file_reader doesn't read several files added in config.

Environment: Windows 10 x64
Step to reproduce:

  • Add path %userprofile%\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadline\ConsoleHost_history. txt
  • Add path C:\inetpub\logs\LogFiles\W3SVC1*.log
Originally created by @Arkweid on GitHub (Dec 7, 2022). Original GitHub issue: https://github.com/vxcontrol/soldr-modules/issues/8 Originally assigned to: @souryogurt on GitHub. Module **file_reader** doesn't read several files added in config. **Environment**: Windows 10 x64 Step to **reproduce**: - Add path %userprofile%\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadline\ConsoleHost_history. txt - Add path C:\inetpub\logs\LogFiles\W3SVC1*.log
yindo added the bugfile_readerwindows labels 2026-06-06 22:10:32 -04:00
Author
Owner

@souryogurt commented on GitHub (Dec 20, 2022):

I'll take it. After discussing this issue with the original author, it has become more apparent why he requested this feature.

Users want to track log files of applications that has a rotation mechanism. They can't specify an absolute path to log files because applications create such files during work.

The leading case is tracking of IIS log files.

I should implement two mechanics:

  1. finding all log files using the user's specified pattern during module initialization and configuration;
  2. tracking new files created with paths matching the users' pattern after file_reader's initialization.

For the latter, I will utilize Windows's filesystem notification API.

<!-- gh-comment-id:1359058240 --> @souryogurt commented on GitHub (Dec 20, 2022): I'll take it. After discussing this issue with the original author, it has become more apparent why he requested this feature. Users want to track log files of applications that has a rotation mechanism. They can't specify an absolute path to log files because applications create such files during work. The leading case is tracking of IIS log files. I should implement two mechanics: 1. finding all log files using the user's specified pattern during module initialization and configuration; 2. tracking new files created with paths matching the users' pattern after file_reader's initialization. For the latter, I will utilize [Windows's filesystem notification API](https://learn.microsoft.com/en-us/windows/win32/projfs/file-system-operation-notifications).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: vxcontrol/soldr-modules#2