Enterprise-grade logging system with business intelligence for Storm Development
Project description
Storm Development Logging
This directory contains log files for the Storm Development application.
Directory Structure
-
app/- Application-specific logsstorm_app.log- Main application logdebug.log- Debug information (development only)
-
django/- Django framework logsdjango.log- Django system logs
-
errors/- Error-specific logserrors.log- All error and critical messages
-
archive/- Archived/rotated log files
Log Levels
- DEBUG: Detailed information for debugging
- INFO: General information about application flow
- WARNING: Something unexpected happened, but the app is still working
- ERROR: A serious problem occurred
- CRITICAL: A very serious error occurred
Log Rotation
Log files are automatically rotated when they reach their maximum size:
- Application logs: 10MB max, 5 backups
- Django logs: 5MB max, 3 backups
- Error logs: 5MB max, 10 backups
- Debug logs: 20MB max, 2 backups
Usage in Code
import logging
# Get logger for your module
logger = logging.getLogger('storm.your_module')
# Log messages
logger.debug('Debug information')
logger.info('General information')
logger.warning('Warning message')
logger.error('Error occurred')
logger.critical('Critical error')
Environment-Specific Behavior
Development (DEBUG=True):
- Colored console output
- Debug logs written to file
- All log levels displayed
Production (DEBUG=False):
- Simple console output
- No debug file logging
- Error emails sent to admins
- Syslog integration
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file storm_logger-2.0.0.tar.gz.
File metadata
- Download URL: storm_logger-2.0.0.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8459e258c1ef62eaca602a5483031b9234ee9175175394399b9f7e35626b24c6
|
|
| MD5 |
8ed9b2039161ab1567b1f8c11edf193a
|
|
| BLAKE2b-256 |
d188bdeca64ecaba5413277d06701ff27c0ecda267825775dd3b8fd3e3916456
|
File details
Details for the file storm_logger-2.0.0-py3-none-any.whl.
File metadata
- Download URL: storm_logger-2.0.0-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5ef7797219a1e03877120b6ce79eaa5a20c251bad013144df5e60cb95d5befa
|
|
| MD5 |
ab99370c66000cb8c9e649d20f84a3ee
|
|
| BLAKE2b-256 |
d3da9321a9929446510e1871754e5d13efc2e4fbdc2a4767968d37f5bd92ba6f
|