Giter Club home page Giter Club logo

Comments (5)

umputun avatar umputun commented on May 23, 2024 1

More over, the option EXCLUDE_PATTERN seems does not work

There is no such option. It is not listed in the list of params in README and not supported

from docker-logger.

umputun avatar umputun commented on May 23, 2024 1

apparently, I have never relesed it, so the image was :master, not :latest
I have added a release v1.3.0 and the docker hub will build it in a few minutes. @Lion-son pls check as ready and let us know.

from docker-logger.

Lion-son avatar Lion-son commented on May 23, 2024

There is no such option. It is not listed in the list of params in README and not supported

I'm sorry for misunderstanding with EXCLUDE_PATTERN

from docker-logger.

jeffothy avatar jeffothy commented on May 23, 2024

Hi @umputun, it appears that docker-logger:latest has not been bumped with the most recent change in master.
The log output from @Lion-son matches the previous rev's line numbers.

Are you able to build and push that tag to docker hub?

from docker-logger.

Lion-son avatar Lion-son commented on May 23, 2024

apparently, I have never relesed it, so the image was :master, not :latest
I have added a release v1.3.0 and the docker hub will build it in a few minutes. @Lion-son pls check as ready and let us know.

Yes, now the optionn INCLUDE_PATTERN works as expected
Thank you for fast release of the feature

docker-logger v1.3.0-0ffe618-20201111T12:36:55
2020/11/12 04:28:01.006 [INFO] {app/main.go:65 main.main} options: {DockerHost:unix:///var/run/docker.sock EnableSyslog:false SyslogHost:127.0.0.1:514 SyslogPrefix:docker/ EnableFiles:true MaxFileSize:10 MaxFilesCount:5 MaxFilesAge:10 MixErr:true FilesLocation:logs Excludes:[] Includes:[] IncludesPattern:^ib.* ExtJSON:false Dbg:true}
2020/11/12 04:28:01.006 [DEBUG] {discovery/events.go:41 discovery.NewEventNotif} create events notif, excludes: [], includes: [], includesPattern: ^ib.*
2020/11/12 04:28:01.013 [DEBUG] {discovery/events.go:124 discovery.(*EventNotif).emitRunningContainers} total containers = 18
...
2020/11/12 04:28:01.014 [DEBUG] {discovery/events.go:139 discovery.(*EventNotif).emitRunningContainers} running container added, {ContainerID:84b21290d19865b5502786a65d38c43667df2fcb3276263be3ff847ab570e023 ContainerName:ib_specific-service_1 Group:ib TS:1970-01-19 13:52:15 +0000 UTC Status:true}
2020/11/12 04:28:01.014 [INFO] {discovery/events.go:129 discovery.(*EventNotif).emitRunningContainers} container filebeat excluded
2020/11/12 04:28:01.014 [INFO] {discovery/events.go:129 discovery.(*EventNotif).emitRunningContainers} container logstash excluded
...
2020/11/12 04:28:01.015 [DEBUG] {app/main.go:129 main.runEventLoop.func1} streaming for 14 containers

from docker-logger.

Related Issues (14)

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.