Skip to content

Can I disable the time field? #221

Closed

Description

@pulkitsinghal

Is it possible to turn-off the time spent between one debug() call and the next ... that is spit out by default in the debug module?

Activity

  1. stephenmathieson commented on Sep 11, 2015

    @stephenmathieson
    Contributor
  2. dcsan commented on Sep 12, 2015

    @dcsan

    for others, that is

    DEBUG_DIFF=0 ....
    
  3. pulkitsinghal commented on Sep 14, 2015

    @pulkitsinghal
    Author

    @dcsan Thank You! Perhaps I misunderstood something, I tried:
    DEBUG_DIFF=0 DEBUG=loopback:* node server/server.js

    And the time field is still present in the logs. Ahhh ... I see pull/208 by cheshirecatalyst/debug hasn't been accepted for merge yet.

  4. dkebler commented on Dec 4, 2015

    @dkebler

    three months later and #208 is apparently not merged. (tried it).
    Will it be? would like to turn off this feature.

    Or better yet how about off by default.

  5. Morriz commented on Dec 24, 2015

    @Morriz

    +1

  6. world commented on Jun 1, 2016

    @world

    console.log("merge please");

  7. GitTom commented on Jun 1, 2016

    @GitTom

    +1

  8. thebigredgeek commented on Dec 14, 2016

    @thebigredgeek
    Contributor

    Currently, no. But with middleware this might be possible. See here... #370

  9. cbdeveloper commented on Feb 7, 2021

    @cbdeveloper

    Is this still not possible to disable?

    I'm getting double timestamp logs on my Cloud Run server (which logs a timestamp by default already).

    image

  10. Qix- commented on Feb 8, 2021

    @Qix-
    Member

    @cbdeveloper please see some of the pinned issues regarding customizing output.

  11. locked as off topic and limited conversation to collaborators on Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions