- ArchiveLog - version 1.2.7
Project date: from April to August/2022
-
Not commercial used.
-
This project will save me a lot of time at work because my services generate 70 GB of logs per month, and the law requires log archiving for +/- 20 years.
-
I wrote this program after my job, because it is an element of my self-development.
-
If you find a bug you can write to me :)
- General Info
- Additional infromation
- General Information
- Technologies Used
- Usage
- Project Status
- Contact
The program has:
- Getting params from configuration file
- Securing password in configuration file
- Archived application (or IIS) log to zip
- Export archives log to FTP
- Delete source logs from directory
- Delete archives files (with time shift)
- Sending E-Mail after error
- Python - version 3.10.1
- SMTPLib
- ZipFile
- DateUtil
- ConfigParser (pycparser) - version 2.21
- ConfigUpdater - version 3.1
- Cryptography - version 37.0.2
- PyInstaller - version 5.1
If you would like to run from script:
- Run main.py
- Complete config.ini
- Run main.py
- Look at the log file
If u would like to run EXE (and then example put it into Task Scheduler, like me):
Generate EXE file - CMD ->
pip install pyinstaller --proxy http://user:pass@proxy.pl:3128
cd Building
pyinstaller ArchiveLog.spec- Run .\dist\ArchiveLog.exe
- Complete config.ini
- Run again ArchiveLog.exe
- Look at the log file
Project is: Production Deployment
Created by @Majster