blob: d7fc69e1bc74a6baf08963bb26ba6dd5afc386a5 [file] [log] [blame]
Simon Leic331a4e2014-08-08 11:12:38 -04001= gerrit logging set-level
2
3== NAME
David Shevitze369eee2018-09-26 12:31:46 -07004gerrit logging set-level - set the logging level.
Simon Leic331a4e2014-08-08 11:12:38 -04005
David Shevitze369eee2018-09-26 12:31:46 -07006gerrit logging set - set the logging level.
Simon Leic331a4e2014-08-08 11:12:38 -04007
8== SYNOPSIS
Michael Ochmanne2d76a12016-06-23 17:07:37 +02009[verse]
Simon Leic331a4e2014-08-08 11:12:38 -040010--
Michael Ochmanne2d76a12016-06-23 17:07:37 +020011_ssh_ -p <port> <host> _gerrit logging set-level_ | _set_
Simon Leic331a4e2014-08-08 11:12:38 -040012 <LEVEL>
13 <NAME>
14--
15
16== DESCRIPTION
17Set the logging level of specified loggers.
18
19== Options
20<LEVEL>::
21 Required; logging level for which the loggers should be set.
22 'reset' can be used to revert all loggers back to their level
23 at deployment time.
24
25<NAME>::
26 Set the level of the loggers which contain the input argument in their name.
27 If this argument is not provided, all loggers will have their level changed.
28 Note that this argument has no effect if 'reset' is passed in LEVEL.
29
30== ACCESS
31Caller must have the ADMINISTRATE_SERVER capability.
32
33== Examples
34
35Change the logging level of the loggers in the package com.google to DEBUG.
Michael Ochmannb99feab2016-07-06 14:10:22 +020036----
David Shevitze369eee2018-09-26 12:31:46 -070037$ssh -p 29418 review.example.com gerrit logging set-level debug com.google.
Michael Ochmannb99feab2016-07-06 14:10:22 +020038----
Simon Leic331a4e2014-08-08 11:12:38 -040039
40Reset the logging level of every logger to what they were at deployment time.
Michael Ochmannb99feab2016-07-06 14:10:22 +020041----
David Shevitze369eee2018-09-26 12:31:46 -070042$ssh -p 29418 review.example.com gerrit logging set-level reset
Michael Ochmannb99feab2016-07-06 14:10:22 +020043----
Simon Leic331a4e2014-08-08 11:12:38 -040044
45GERRIT
46------
47Part of link:index.html[Gerrit Code Review]
48
49SEARCHBOX
50---------