/docker-logger

Logs collector for docker

Primary LanguagePythonMIT LicenseMIT

Docker Logger Tool

Docker logger The Docker Logger Tool is a convenient way to log and monitor Docker containers. The tool is built with Python and JavaScript, and uses the pip package manager for Python dependencies.

Features (usage)

  • Real-time logging of Docker containers
  • Ability to filter logs based on severity levels (debug, info, warn, error, fatal) Filter logs
  • Search functionality for specific terms in logs Search logs
  • Ability to exclude docker containers from logging Exclude containers
  • Ability to add and delete search terms and URLs in a sqlite database Add search terms

Installation

Follow these steps to install and run the Docker Logger Tool: We recommend using the edwh command line tool to manage the project.

  1. Clone the repository:

    git clone <repository-url>
    
  2. Navigate to the project directory:

    cd docker-logger
    
  3. Run the setup command:

    edwh setup
    
  4. Build the project:

    edwh build
    
  5. Start the project:

    edwh up
    

Usage

After the installation, you can access the Docker Logger Tool through your web browser at logs{DOMAINNAME} (DOMAINNAME is made with the edwh setup command and is in the .env). From there, you can view the logs, apply filters, and add or delete search terms and URLs.

A little bit about the docker logger itself

The tool is a real time Docker logger for Docker containers and sets it in a .log of .err file. The Docker Logger Tool is an open-source project, and its source code and README.me can be found at https://github.com/umputun/docker-logger.