Skip to main content

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 logs

    • storm_app.log - Main application log
    • debug.log - Debug information (development only)
  • django/ - Django framework logs

    • django.log - Django system logs
  • errors/ - Error-specific logs

    • errors.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

storm_logger-2.0.0.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

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

storm_logger-2.0.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

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

Hashes for storm_logger-2.0.0.tar.gz
Algorithm Hash digest
SHA256 8459e258c1ef62eaca602a5483031b9234ee9175175394399b9f7e35626b24c6
MD5 8ed9b2039161ab1567b1f8c11edf193a
BLAKE2b-256 d188bdeca64ecaba5413277d06701ff27c0ecda267825775dd3b8fd3e3916456

See more details on using hashes here.

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

Hashes for storm_logger-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d5ef7797219a1e03877120b6ce79eaa5a20c251bad013144df5e60cb95d5befa
MD5 ab99370c66000cb8c9e649d20f84a3ee
BLAKE2b-256 d3da9321a9929446510e1871754e5d13efc2e4fbdc2a4767968d37f5bd92ba6f

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