Skip to content

Subsecond time-stamp in docker logger driver for stderr #35

Open
@YerisAntonio

Description

@YerisAntonio

Hi

I would like to if it is possible that sub-second precision time-stamp on stderr would be added to this driver.

Activity

YerisAntonio

YerisAntonio commented on Jul 21, 2016

@YerisAntonio
Author

This is an example from docker logs -t, those lines have really precise timestamp, but none are sent to by the logger driver:

2016-07-21T14:50:03.872614398Z Starting Monit 5.17.1 daemon with http interface at [localhost]:2812
2016-07-21T14:50:15.797180785Z {"name":"Logger","hostname":"257d35137014","pid":14,"level":30,"msg":"initializing api twitter","time":"2016-07-21T14:50:15.520Z","v":0}
2016-07-21T14:50:17.760994676Z /usr/src/app/node_modules/bluebird/js/release/async.js:61
2016-07-21T14:50:17.761024450Z fn = function () { throw arg; };
2016-07-21T14:50:17.761028615Z ^
2016-07-21T14:50:17.761032552Z
2016-07-21T14:50:17.761038010Z ReferenceError: serviceName is not defined
2016-07-21T14:50:17.761043498Z at /usr/src/app/node_modules/@sbr/service/lib/server/consulWrapper.js:35:34
2016-07-21T14:50:17.761049527Z at next (native)
2016-07-21T14:50:17.761053326Z at tryCatcher (/usr/src/app/node_modules/bluebird/js/release/util.js:16:23)
2016-07-21T14:50:17.761059775Z at PromiseSpawn._promiseFulfilled (/usr/src/app/node_modules/bluebird/js/release/generators.js:97:49)
2016-07-21T14:50:17.761063422Z at Promise._settlePromise (/usr/src/app/node_modules/bluebird/js/release/promise.js:566:26)
2016-07-21T14:50:17.761066899Z at Promise._settlePromise0 (/usr/src/app/node_modules/bluebird/js/release/promise.js:606:10)
2016-07-21T14:50:17.761070334Z at Promise._settlePromises (/usr/src/app/node_modules/bluebird/js/release/promise.js:685:18)
2016-07-21T14:50:17.761073706Z at Async._drainQueue (/usr/src/app/node_modules/bluebird/js/release/async.js:138:16)
2016-07-21T14:50:17.761077094Z at Async._drainQueues (/usr/src/app/node_modules/bluebird/js/release/async.js:148:10)
2016-07-21T14:50:17.761080583Z at Immediate.Async.drainQueues as _onImmediate
2016-07-21T14:50:17.761084072Z at processImmediate as _immediateCallback
2016-07-21T14:50:17.797352776Z {"name":"Logger","hostname":"257d35137014","pid":14,"level":30,"msg":"initializing api events twitter","time":"2016-07-21T14:50:15.523Z","v":0}
2016-07-21T14:50:17.797380254Z {"name":"Logger","hostname":"257d35137014","pid":14,"level":30,"msg":"event registered twitter.create","time":"2016-07-21T14:50:15.523Z","v":0}

self-assigned this
on Jul 21, 2016
zerthimon

zerthimon commented on Oct 20, 2016

@zerthimon

+1

redlolgeerf

redlolgeerf commented on Oct 20, 2016

@redlolgeerf

+1

tagomoris

tagomoris commented on Oct 21, 2016

@tagomoris
Member
ypjin

ypjin commented on Nov 14, 2017

@ypjin

It's one year later. Any update on this? Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @tagomoris@zerthimon@ypjin@redlolgeerf@YerisAntonio

      Issue actions

        Subsecond time-stamp in docker logger driver for stderr · Issue #35 · fluent/fluent-logger-golang