Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

==========
pylogwatch
==========
Log file parser, which sends the contents of log files to a centralized Sentry server. Meant for periodic execution via cron.

Config
==========
So far the config format is quite simple. It currently looks like this:
::
DEBUG=True

RAVEN = {
'dsn':'<RAVEN_DSN_URL>',
}

# List of files to monitor and their associated formatters
FILE_FORMATTERS = {
'/var/log/syslog': ('formatters.base.SysLogDateFormatter',
'formatters.base.SysLogProcFormatter',),

'/var/log/auth.log': ('formatters.base.SysLogDateFormatter',
'formatters.base.SysLogProcFormatter',),

'/var/log/apache/error.log': ('formatters.web.ApacheErrorLogFormatter',),

}


DB
==========
PyLogWatch will automaticall create a SQLite database in the folder where the Config File resides.

Execution
==========
To start pylogwatch simply use the '-c' switch to indicate the path to the configuration file:

pylog.py -c /path/to/pylogconf.py

Caveats
==========
Keep in mind that PyLogWatch uses a regular Python file as a configuration. This means that giving write access
to the config file is equivalent to giving execuion privileges for custom Python code. Keep your configuration files
adequately protected

Metadata

Release files for PyLogWatch 0.1.8-alpha1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyLogWatch 0.1.8-alpha1
File Size Uploaded
PyLogWatch-0.1.8-alpha1.tar.gz 17.8 kB Details

Release files / PyLogWatch-0.1.8-alpha1.tar.gz

Download URL PyLogWatch-0.1.8-alpha1.tar.gz
Size 17.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f4a00c07be075d985fed8629ec2d1aa1a75c8df8165f21e8fa0323dee232ba11
BLAKE2b-256 checksum
How to use checksums
5e93ffc4c8359e52e3630c43ffaa0914df0fe317b0b68dfb2140d6b98bc2285d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page