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

Can I disable the time field? #221

Closed
pulkitsinghal opened this issue Sep 11, 2015 · 10 comments
Closed

Can I disable the time field? #221

pulkitsinghal opened this issue Sep 11, 2015 · 10 comments

Comments

@pulkitsinghal
Copy link

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?

@stephenmathieson
Copy link
Contributor

#208

@dcsan
Copy link

dcsan commented Sep 12, 2015

for others, that is

DEBUG_DIFF=0 ....

@pulkitsinghal
Copy link
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.

@dkebler
Copy link

dkebler commented Dec 4, 2015

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.

@Morriz
Copy link

Morriz commented Dec 24, 2015

+1

@world
Copy link

world commented Jun 1, 2016

console.log("merge please");

@GitTom
Copy link

GitTom commented Jun 1, 2016

+1

@thebigredgeek
Copy link
Contributor

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

@cbdeveloper
Copy link

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

@Qix-
Copy link
Member

Qix- commented Feb 8, 2021

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

@debug-js debug-js locked as off-topic and limited conversation to collaborators Feb 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

10 participants