Skip to content

Moved synology_abfb_log_parser to PyPi and improved the examples#105

Merged
silversword411 merged 2 commits intoamidaware:mainfrom
NiceGuyIT:script/synology_activebackuplogs
Dec 18, 2022
Merged

Moved synology_abfb_log_parser to PyPi and improved the examples#105
silversword411 merged 2 commits intoamidaware:mainfrom
NiceGuyIT:script/synology_activebackuplogs

Conversation

@NiceGuyIT
Copy link
Copy Markdown
Contributor

  • Replace pyparsing with regex resulting in ~70% speed increase (about 35 seconds down to 10 to scan all log files).
  • Moved the snippet to PyPi: https://pypi.org/project/synology-abfb-log-parser/
  • Automatically install synology-abfb-log-parser if it's not already installed.
  • Add --auto-update flag to update synology-abfb-log-parser on each run. This should be set as a separate check to be run once daily/weekly.
  • Renamed the scripts to reflect what they do. They are no longer "examples".
  • Use command line parameters instead of static variables for added flexibility.

@silversword411 silversword411 merged commit 35d331f into amidaware:main Dec 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants