Simon Lei | c331a4e | 2014-08-08 11:12:38 -0400 | [diff] [blame] | 1 | = gerrit logging set-level |
| 2 | |
| 3 | == NAME |
| 4 | gerrit logging set-level - set the logging level |
| 5 | |
| 6 | gerrit logging set - set the logging level |
| 7 | |
| 8 | == SYNOPSIS |
| 9 | -- |
| 10 | 'ssh' -p <port> <host> 'gerrit logging set-level | set' |
| 11 | <LEVEL> |
| 12 | <NAME> |
| 13 | -- |
| 14 | |
| 15 | == DESCRIPTION |
| 16 | Set the logging level of specified loggers. |
| 17 | |
| 18 | == Options |
| 19 | <LEVEL>:: |
| 20 | Required; logging level for which the loggers should be set. |
| 21 | 'reset' can be used to revert all loggers back to their level |
| 22 | at deployment time. |
| 23 | |
| 24 | <NAME>:: |
| 25 | Set the level of the loggers which contain the input argument in their name. |
| 26 | If this argument is not provided, all loggers will have their level changed. |
| 27 | Note that this argument has no effect if 'reset' is passed in LEVEL. |
| 28 | |
| 29 | == ACCESS |
| 30 | Caller must have the ADMINISTRATE_SERVER capability. |
| 31 | |
| 32 | == Examples |
| 33 | |
| 34 | Change the logging level of the loggers in the package com.google to DEBUG. |
| 35 | ===== |
| 36 | $ssh -p 29418 review.example.com gerrit logging set-level \ |
| 37 | debug com.google. |
| 38 | ===== |
| 39 | |
| 40 | Reset the logging level of every logger to what they were at deployment time. |
| 41 | ===== |
| 42 | $ssh -p 29418 review.example.com gerrit logging set-level \ |
| 43 | reset |
| 44 | ===== |
| 45 | |
| 46 | GERRIT |
| 47 | ------ |
| 48 | Part of link:index.html[Gerrit Code Review] |
| 49 | |
| 50 | SEARCHBOX |
| 51 | --------- |