mirror of
https://github.com/vxcontrol/soldr-modules.git
synced 2026-07-25 08:45:39 -04:00
[PR #44] Allow specifying log files in file_reader using glob patterns #43
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/vxcontrol/soldr-modules/pull/44
Author: @souryogurt
Created: 1/19/2023
Status: 🔄 Open
Base:
master← Head:feature-file_reader-track-files-matching-patterns📝 Commits (10+)
f10268fAllow specifying log files using glob patternsf1514ecReturn relative paths from find_all_files function58eb3efAdd directories watcher55d61b0Scan for new files every secondef3ac58Allow configuring the frequency of updating the file liste8212d5Show all found files in the file_reader UIe7c0b51Reduce nesting in testsae1e67cReduce nesting in fs_notify modulea0033c5Create and remove test files for file_reader on test run922bb10Fix crash on empty savepoint file in file_reader📊 Changes
12 files changed (+432 additions, -152 deletions)
View changed files
📝
file_reader/1.0.0/bmodule/main.vue(+18 -2)📝
file_reader/1.0.0/cmodule/file_reader.lua(+108 -15)➕
file_reader/1.0.0/cmodule/fs_notify.lua(+62 -0)📝
file_reader/1.0.0/cmodule/main.lua(+88 -98)📝
file_reader/1.0.0/config/changelog.json(+12 -0)📝
file_reader/1.0.0/config/config_schema.json(+9 -1)📝
file_reader/1.0.0/config/current_config.json(+1 -0)📝
file_reader/1.0.0/config/default_config.json(+1 -0)📝
file_reader/1.0.0/config/info.json(+1 -1)📝
file_reader/1.0.0/config/locale.json(+10 -0)📝
file_reader/1.0.0/smodule/main.lua(+40 -35)➕
tests/file_reader_client_fs_notify_spec.lua(+82 -0)📄 Description
Description of the Change
Users of file_reader module want to track log files of applications with enabled rotation. In this case, they do not know the exact name of the files to be tracked, and they would like to specify them using glob patterns.
Log files can now be specified using glob patterns.
Closes #8
Changelog Entry
Added ability to specify log files in file_reader using glob patterns.
Checklist:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.