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

[object Object] in bunyan output #38

Closed
trentm opened this issue Aug 28, 2012 · 1 comment
Closed

[object Object] in bunyan output #38

trentm opened this issue Aug 28, 2012 · 1 comment

Comments

@trentm
Copy link
Owner

trentm commented Aug 28, 2012

[2012-08-28T07:55:01.821Z]  INFO: amon-master/12592 on 4ed45644-f17f-4c9e-9ec9-1f4ab2d38eaf: Cr
eateProbeGroup handled: 200 (req_id=9daa4326-6ccf-4fac-a1a9-7886de318a41, 21ms, audit=true, rem
oteAddress=10.2.207.13, remotePort=50780, secure=false, _audit=true, req.version=*)
    POST /pub/930896af-bf8c-48d4-885c-6573a94b1853/probegroups HTTP/1.1
    user-agent: curl/7.21.2 (i386-pc-solaris2.11) libcurl/7.21.2 OpenSSL/0.9.8w zlib/1.2.3
    host: 10.2.207.16
    accept: application/json
    content-type: application/json
    content-length: 96

    [object Object]
    --
    HTTP/1.1 200 OK
    content-type: application/json
    content-length: 184
    access-control-allow-origin: *
    access-control-allow-headers: Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version
    access-control-allow-methods: POST
    access-control-expose-headers: X-Api-Version, X-Request-Id, X-Response-Time
    connection: Keep-Alive
    content-md5: gwwdNdSqrdyFQIymiR3Ueg==
    date: Tue, 28 Aug 2012 07:55:01 GMT
    server: Amon Master/1.0.0
    x-request-id: 9daa4326-6ccf-4fac-a1a9-7886de318a41
    x-response-time: 21

    {"uuid":"d679ffe9-3089-4974-b981-f297b8fa966a","user":"930896af-bf8c-48d4-885c-6573a94b1853","contacts":["email"],"disabled":false,"name":"imgapi-e8ac9f10-32d7-4ff4-a974-a44aabb8966a"}
    --
    route: {
      "name": "CreateProbeGroup",
      "version": false
    }

with raw record:

{"name":"amon-master","hostname":"4ed45644-f17f-4c9e-9ec9-1f4ab2d38eaf","pid":12592,"audit":true,"level":30,"remoteAddress":"10.2.207.13","remotePort":50780,"req_id":"9daa4326-6ccf-4fac-a1a9-7886de318a41","req":{"method":"POST","url":"/pub/930896af-bf8c-48d4-885c-6573a94b1853/probegroups","headers":{"user-agent":"curl/7.21.2 (i386-pc-solaris2.11) libcurl/7.21.2 OpenSSL/0.9.8w zlib/1.2.3","host":"10.2.207.16","accept":"application/json","content-type":"application/json","content-length":"96"},"httpVersion":"1.1","trailers":{},"version":"*","body":{"name":"imgapi-e8ac9f10-32d7-4ff4-a974-a44aabb8966a","contacts":["email"]}},"res":{"statusCode":200,"headers":{"content-type":"application/json","content-length":184,"access-control-allow-origin":"*","access-control-allow-headers":"Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version","access-control-allow-methods":"POST","access-control-expose-headers":"X-Api-Version, X-Request-Id, X-Response-Time","connection":"Keep-Alive","content-md5":"gwwdNdSqrdyFQIymiR3Ueg==","date":"Tue, 28 Aug 2012 07:55:01 GMT","server":"Amon Master/1.0.0","x-request-id":"9daa4326-6ccf-4fac-a1a9-7886de318a41","x-response-time":21},"trailer":false,"body":"{\"uuid\":\"d679ffe9-3089-4974-b981-f297b8fa966a\",\"user\":\"930896af-bf8c-48d4-885c-6573a94b1853\",\"contacts\":[\"email\"],\"disabled\":false,\"name\":\"imgapi-e8ac9f10-32d7-4ff4-a974-a44aabb8966a\"}"},"route":{"name":"CreateProbeGroup","version":false},"latency":21,"secure":false,"_audit":true,"msg":"CreateProbeGroup handled: 200","time":"2012-08-28T07:55:01.821Z","v":0}

Bunyan 0.13.3

trentm added a commit that referenced this issue Aug 28, 2012
…is an object instead of a string.
@trentm trentm closed this as completed Aug 28, 2012
@trentm
Copy link
Owner Author

trentm commented Aug 28, 2012

This is in 0.13.4

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

1 participant