Google Cloud Stackdriver Profiling Nodejs which documentation is right regarding logLevel?

35 views
Skip to first unread message

Sudhanshu Gaur

unread,
Apr 18, 2018, 9:55:48 AM4/18/18
to Google App Engine

I was adding Profiling in my Google CLoud Nodejs App and i see here in the documentation docs/profiling-nodejs that suported loglevels are

  • 0: disables all agent logging (default)
  • 1: enables error logging
  • 2: enables warning logging
  • 3: enables debug logging

But here in the Sample App documentation cloud-profiler-nodejs suported loglevels are

  • Setting logLevel to 0 will disable logging
  • 1 sets log level to error
  • 2 sets it to warn
  • 3 sets it to info
  • 4 sets it to debug.

So can anyone please tell me which documentation is right and which one is wrong ?

Katayoon (Cloud Platform Support)

unread,
Apr 18, 2018, 5:52:16 PM4/18/18
to Google App Engine
The sample is based on the Alpha release of Stackdriver Profiler, while the product’s documentation is on the Beta release.
Reply all
Reply to author
Forward
0 new messages