Skip to content

Commit

Permalink
Specify default logging level (#483)
Browse files Browse the repository at this point in the history
* Specify default logging level

* Update README.md
  • Loading branch information
kalyanac authored and nolanmar511 committed May 10, 2019
1 parent 59429e7 commit cfcf179
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ export GCLOUD_PROFILER_CONFIG=./path/to/your/profiler/configuration.js

The profiler writes log statements to the console log for diagnostic purposes.
By default, the log level is set to warn. You can adjust this by setting
`logLevel` in the config. Setting `logLevel` to 0 will disable logging, 1 sets
log level to error, 2 sets it to warn, 3 sets it to info, and 4 sets it to
debug.
`logLevel` in the config. Setting `logLevel` to 0 will disable logging,
1 sets log level to error, 2 sets it to warn (default), 3 sets it to info,
and 4 sets it to debug.

So, for example, to start the profiler with the log level at debug, you would
do this:
Expand Down

0 comments on commit cfcf179

Please sign in to comment.