Comments (5)
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.
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.
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.
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.
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)
- Env MHOST in docker-compose.yml example HOT 1
- Option to forward both stdout and stderr to the same file (*.log) HOT 3
- Switch to go mod
- Should the programm compile at windows? HOT 3
- Unused import module `Microsoft/go-winio` HOT 1
- Make both event loop and writers factory testable
- The log file stops recording after it has been modified by a third-party process HOT 10
- Default time zone is not UTC
- After restarting the container, all records are logged twice HOT 7
- Avoid new log file when new instance of container with number
- JSON output mode HOT 1
- environment LOG_FILES=true single log file for service in swarm mode HOT 1
- INCLUDE option for list of included containers HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-logger.