Daniel Nephin
4f0d95fa6e
Add canonical import comment
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2018-02-05 16:51:57 -05:00
Igor Karpovich
27a5b878c1
Logentries line-only logopt fix to maintain backwards compatibility
...
Changed logic to ignore empty value
Fixes #35626
Signed-off-by: Igor Karpovich <igor@karpovich.me>
2017-11-30 13:03:16 +00:00
Igor Karpovich
440e50b6c7
This fixes casting of log message []byte into string with --log-opt line-only=true
...
Signed-off-by: Igor Karpovich <igor@karpovich.me>
2017-11-27 14:26:53 +00:00
Sascha Andres
6362843e67
Log payload only [logentries]
...
If you want to use the advanced query in logentries
logging in json is very useful. If you do not need
the advanced information with
--log-opt line-only=true just logs the payload
Signed-off-by: Sascha Andres <sascha.andres@outlook.com>
2017-08-05 09:54:21 +02:00
Derek McGowan
1009e6a40b
Update logrus to v1.0.1
...
Fixes case sensitivity issue
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-07-31 13:16:46 -07:00
Brian Goff
1325f667ee
Merge pull request #27565 from rothrock/env-by-regex
...
[splunk] Use a regex to match environment variables
2017-03-31 10:46:48 -04:00
Brian Goff
3f4fccb65f
Use sync.Pool for logger Messages
...
This reduces allocs and bytes used per log entry significantly as well
as some improvement to time per log operation.
Each log driver, however, must put messages back in the pool once they
are finished with the message.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-02-01 13:52:37 -05:00
Joseph Rothrock
9758a2a724
Use a regex to match environment variables #27565
...
Signed-off-by: Joseph Rothrock <rothrock@rothrock.org>
2017-01-19 15:30:11 -08:00
Yanqiang Miao
17ec911da7
Rename 'context' to 'loginfo' in the logger module
...
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
gofmt
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
update
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
remove 'api/types/container/config.go' from this PR
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
change 'LogInfo' to 'Info'
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
update
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
2016-12-29 19:13:44 +08:00
Carlos Alexandro Becker
2764d67c3a
added logentries driver
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2016-10-06 22:48:53 -03:00