Skip to main content

Comprehensive Windows log monitoring and management solution

Project description

LogWatchdog

Python 3.7+ License: MIT PyPI version GitHub release

LogWatchdog is a production-ready Windows log monitoring solution that provides real-time monitoring, notifications, and automated log management capabilities.

🚀 Features

  • Real-time Log Monitoring: Monitor single files, multiple files, or entire folders
  • Smart Notifications: Email alerts and system tray notifications for critical events
  • Configurable Alerts: Customizable exception keywords and notification rules
  • File Discovery: Automatic detection of new log files
  • Windows Native: Designed specifically for Windows 10/11 systems

📋 Requirements

  • Python 3.7+
  • Windows 10/11 (primary target)

🛠️ Installation

From PyPI (Recommended)

pip install logwatchdog

From Source

git clone https://github.com/pandiyarajk/logwatchdog.git
cd logwatchdog
pip install -r requirements.txt

🚀 Quick Start

1. Configuration Files

Create log_config.ini for monitoring settings:

[monitoring]
monitor_mode = folder                    # single, multiple, or folder
log_folder_path = C:\logs               # Folder to monitor
log_file_extensions = *.log,*.txt       # File extensions to monitor
file_discovery_interval = 30            # Check for new files every 30 seconds
empty_monitor_delay = 10                # Delay when no files found

[notifications]
email_enabled = true
smtp_server = smtp.gmail.com
smtp_port = 587
receiver_group = admin@company.com
system_tray_notifications = true

[alerts]
exception_keywords = Exception,Error,Failure,Fail,Fatal,Issue,Crash

2. Email Credentials

Create .env file for email authentication:

# Copy env_example.txt to .env and fill in your credentials
EMAIL_USER=your-email@gmail.com
EMAIL_PASSWORD=your-app-password

Security Note: Never commit the .env file to version control.

3. Start Monitoring

python log_monitor.py

📁 Monitoring Modes

  • Single File: Monitor one specific log file
  • Multiple Files: Monitor multiple specific log files simultaneously
  • Folder: Monitor all log files in a folder with automatic file detection

🔧 Configuration

Main Settings (log_config.ini)

  • Monitoring mode and file paths
  • SMTP server configuration
  • Alert keywords and notification settings
  • File discovery intervals

Email Credentials (.env)

  • EMAIL_USER: Your email address
  • EMAIL_PASSWORD: Your email password or app password

📚 Documentation

🤝 Contributing

We welcome contributions! Please see CONTRIBUTING.md for details.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🔄 Changelog

See CHANGELOG.md for version history.


Made with ❤️ by Pandiyaraj Karuppasamy

LogWatchdog - Your Windows Log Monitoring Companion

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

logwatchdog-1.0.0.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

logwatchdog-1.0.0-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file logwatchdog-1.0.0.tar.gz.

File metadata

  • Download URL: logwatchdog-1.0.0.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for logwatchdog-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ead574f2ff7dc5d7b58c5a39b414c2754ed51f1c640488774326c77c72d8cd19
MD5 be5389da7fbc6da864ada5e18232b6f1
BLAKE2b-256 dac40d04bcab8426c311b1175271a8cfef831a5de6019687ee6e75fbc84a06cf

See more details on using hashes here.

File details

Details for the file logwatchdog-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: logwatchdog-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for logwatchdog-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 497585e27f0d99e54d97daaf2d0851b7d64f2e19974c3272d4f1f67b2ae6e94b
MD5 4a1a08dd7b61a0fbc8b6a8383aec74c1
BLAKE2b-256 4bdf70de641c196f1a8ee81822b3dba0633ff6686cb49a562d08036a6e634dab

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page