/

Create a Logs Project

Create a Logs Project

ByteHide Logs helps you capture, analyze, and manage application logs in Python with enterprise-grade features like log rotation, filtering, and sensitive data masking.

Getting Started

To start logging in your Python application:

  1. Create a Project - Sign up on the ByteHide Dashboard and create a new Logs project
  2. Get Your Token - Copy your project token from the project settings
  3. Install the SDK - Add the bytehide-logs package to your application
  4. Configure Logging - Set up logging with your project token and desired outputs

Quick Setup

Python
from bytehide_logs import Log, LogSettings

# Set your project token
Log.set_project_token("your-project-token")

# Initialize with default settings
Log.initialize(LogSettings(console_enabled=True))

# Start logging
Log.info("Application started successfully")

Key Features

  • Multiple Output Targets - Log to console, files, or both
  • Intelligent Rotation - Automatic log file rotation by time or size
  • Log Levels - Control verbosity with DEBUG, INFO, WARN, ERROR, and CRITICAL levels
  • Sensitive Data Protection - Automatically mask credentials and PII
  • Contextual Logging - Add tags, correlation IDs, and custom context
  • User Identification - Track logs by authenticated users
  • Performance - Minimal overhead with async operations
  • Environment Integration - Works with Docker, Kubernetes, and cloud platforms

Documentation Structure

What's Next?

Choose your next step based on your needs:

  • New to ByteHide Logs? Start with Installation
  • Ready to log? Jump to Quick Start
  • Need specific features? Check out the configuration guides

Support

For issues, questions, or feature requests, visit the ByteHide Support Portal.