Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
YerisAntonio opened this issue Jul 21, 2016 · 5 comments
Open

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

YerisAntonio opened this issue Jul 21, 2016 · 5 comments
Assignees

Comments

@YerisAntonio
Copy link

YerisAntonio commented Jul 21, 2016

Hi

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

@YerisAntonio
Copy link
Author

YerisAntonio commented Jul 21, 2016

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}

@tagomoris tagomoris self-assigned this Jul 21, 2016
@zerthimon
Copy link

+1

1 similar comment
@redlolgeerf
Copy link

+1

@tagomoris
Copy link
Member

@ypjin
Copy link

ypjin commented Nov 14, 2017

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants