GithubHelp home page GithubHelp logo

augustoliks / docker-log-config Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 22 KB

rpm-package | rsyslog, logrotate and docker config files, configured to: ingest, process and persist and manage retention/rotation containers logs

Makefile 100.00%
rpm copr rpm-packages tito docker logrotate log rsyslog

docker-log-config's Introduction

https://copr.fedorainfracloud.org/coprs/augustoliks/docker-log-config/package/docker-log-config/status_image/last_build.png

docker-server-config

Rsyslog, Logrotate and Docker config files, configured to: ingest, process and persist and manage retention/rotation Containers logs.

Dependencies

Package Version Description
docker 19.03.8 Container Runtime
rsyslog 8.2008.0.master-1597014157 Enhanced system logging and kernel message trapping daemon
logrotate logrotate-3.15.1-1 Rotates, compresses, removes and mails system log files

Install

This project was publish in RPM package format, available in Copr Repositories.

To install docker-log-config package, first, enable this follow Copr:

dnf copr enable augustoliks/docker-log-config

After enable augustoliks/docker-log-config, this docker-log-config already avaible to install.

dnf install docker-log-config

How it Works

Containers logs will be persist in disk. Each day (midnight specifically), log files are rotated and compressed. The last 30 log files per Container will be preserved.

/var/log/containers/<CONTAINER-NAME>.log
/var/log/containers/bkp/<CONTAINER-NAME>.{1..30}.log.gz

Developer Notes

  • Create new Release:
tito tag
  • Test RPM build:
tito rpm

docker-log-config's People

Contributors

augustoliks avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.