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.1.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.1-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file storm_logger-2.0.1.tar.gz.

File metadata

  • Download URL: storm_logger-2.0.1.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for storm_logger-2.0.1.tar.gz
Algorithm Hash digest
SHA256 38beddbdd7590a7f2b4e649eb0387dfaf8c6121a479e70356de1b203410fe2ec
MD5 d751d49156620dddf001d3fde09b6567
BLAKE2b-256 f9abce9ad9eac2d3c1048fbd511314ce26ad80b738c2b2f372e8a0ce942fa793

See more details on using hashes here.

File details

Details for the file storm_logger-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: storm_logger-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for storm_logger-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 813bf412947868c79aab02fa17088d8c05b97f6ceda1d523c8b8031f1d725858
MD5 7717b62a627d574441f33f59cb5c581f
BLAKE2b-256 f3b5043cf2ab9744149eaad47ca9741070b6a9e46f654f251a3aeef3b34b212f

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