blob: 38062cb3408b9bedaaf6a99b3f45b25481ae45dd [file] [log] [blame]
Simon Leic331a4e2014-08-08 11:12:38 -04001= gerrit logging set-level
2
3== NAME
4gerrit logging set-level - set the logging level
5
6gerrit 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
16Set 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
30Caller must have the ADMINISTRATE_SERVER capability.
31
32== Examples
33
34Change 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
40Reset 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
46GERRIT
47------
48Part of link:index.html[Gerrit Code Review]
49
50SEARCHBOX
51---------