Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module doesn't read several files #8

Open
Arkweid opened this issue Dec 7, 2022 · 1 comment · May be fixed by #44
Open

Module doesn't read several files #8

Arkweid opened this issue Dec 7, 2022 · 1 comment · May be fixed by #44
Assignees
Labels
bug Something isn't working file_reader Module file_reader windows Windows related build

Comments

@Arkweid
Copy link
Contributor

Arkweid commented Dec 7, 2022

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
@Arkweid Arkweid added file_reader Module file_reader windows Windows related build bug Something isn't working labels Dec 7, 2022
@souryogurt
Copy link

souryogurt commented 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.

@asdek asdek added this to SOLDR Dec 22, 2022
@asdek asdek moved this to 🆕 New in SOLDR Dec 22, 2022
@asdek asdek moved this from 🆕 New to 📋 Backlog in SOLDR Dec 22, 2022
@asdek asdek added this to the Technical release milestone Dec 22, 2022
@Arkweid Arkweid moved this from 📋 Backlog to 🏗 In progress in SOLDR Dec 22, 2022
@souryogurt souryogurt linked a pull request Jan 19, 2023 that will close this issue
3 tasks
@souryogurt souryogurt moved this from 🏗 In progress to 👀 In review in SOLDR Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working file_reader Module file_reader windows Windows related build
Projects
Status: 👀 In review
Development

Successfully merging a pull request may close this issue.

3 participants