Coder Social home page Coder Social logo

docker-rsyslog's People

Contributors

dmz006 avatar jumanjiman avatar renovate-bot avatar simagick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-rsyslog's Issues

Adding logrotate

What do you think about adding logrotate? maybe with some env configuration in order to enable\disable it?

I think that's fine having it in the same rsyslog container because:

  • logrotate is run by a cron (daily or hourly), so it's not a long running process, thus it does not violate docker principles of having single process in a container.
  • if we have logrotate run where rsyslog runs we can easily use the logrotate's postrotate event to reload the rsyslog conf (avoiding issues like writing in wrong files after the rotation occurs). Something that could be harder if logrotate is in another container

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

circleci
.circleci/config.yml
  • jumanjiman/cci 20200129.1700
docker-compose
docker-compose-metadata.yaml
docker-compose.yaml
  • alpine 3.12
dockerfile
src/Dockerfile
  • alpine 3.12.0
tftp/Dockerfile
  • alpine 3.12
pip_requirements
ci/requirements.txt
  • pre-commit ==2.6.0

  • Check this box to trigger a request for Renovate to run again on this repository

Need help on Integrating with mongodb logs

Hi Team,

I'm trying to integrate the rsyslog with mongodb logs.

Currently, we have mongodb and rsyslog on the same container and mongodb is logging to syslog-facility local2 and rsyslog is capturing the requests (UDP port 514) and forwarding it to output. And now are planning to create a single central rsyslog daemon instead of running on each node. And so we separated the mongodb and rsyslog processes to two separate containers.

With the volumes-from approach, im not sure how can i integrate the mongodb logs (logging to local2 facility) to rsyslog container.

Any suggested path to proceed further.

Thanks in advance
Manoj Badam

rsyslog.service getting stuck in a restart loop due to pid 1 already being present

Our rsyslog.service container, managed via docker compose, frequently got stuck in a restart loop.

Its own logs says over and over:
rsyslog.service | rsyslogd: run failed with error -3000 (see rsyslog.h or try http://www.rsyslog.com/e/3000 to learn what that number means) rsyslog.service | rsyslogd: pidfile '/var/run/rsyslogd.pid' and pid 1 already exist. rsyslog.service | If you want to run multiple instances of rsyslog, you need to specify rsyslog.service | different pid files for them (-i option).

Some quick research on the web found that by removing /var/run/rsyslogd.pid during container startup, just before rsyslogd is called, the issue can be resolved. Read here:
goharbor/harbor#1197

Would be awesome if you could add the equivalent change here as well. :)

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.