Files
gerrit/Documentation/cmd-logging-set-level.txt
Michael Ochmann e2d76a1c23 Fix broken synopsis formatting in documentation
Most of the cmd-xxxx.txt pages were still using the legacy 'italics'
asciidoc [1], which caused the synopsis sections to render like this:

'ssh' -p <port> 'gerrit some-command'

Furthermore, the line breaks and indentations were not rendered.

Replaced the legacy 'italics" with _italics_ in all synopsis sections
and changed the block type to [verse]. Verse blocks preserve indents
and line breaks (like <pre> in HTML), but still allow text formatting.

Fixed also some other minor mistakes and formatting errors.

[1] http://asciidoctor.org/docs/migration/#migration-cheatsheet

Change-Id: I457c5e42e3758789f29541d38d6f6c2e25532897
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
2016-07-06 10:54:42 +02:00

53 lines
1.2 KiB
Plaintext

= gerrit logging set-level
== NAME
gerrit logging set-level - set the logging level
gerrit logging set - set the logging level
== SYNOPSIS
[verse]
--
_ssh_ -p <port> <host> _gerrit logging set-level_ | _set_
<LEVEL>
<NAME>
--
== DESCRIPTION
Set the logging level of specified loggers.
== Options
<LEVEL>::
Required; logging level for which the loggers should be set.
'reset' can be used to revert all loggers back to their level
at deployment time.
<NAME>::
Set the level of the loggers which contain the input argument in their name.
If this argument is not provided, all loggers will have their level changed.
Note that this argument has no effect if 'reset' is passed in LEVEL.
== ACCESS
Caller must have the ADMINISTRATE_SERVER capability.
== Examples
Change the logging level of the loggers in the package com.google to DEBUG.
=====
$ssh -p 29418 review.example.com gerrit logging set-level \
debug com.google.
=====
Reset the logging level of every logger to what they were at deployment time.
=====
$ssh -p 29418 review.example.com gerrit logging set-level \
reset
=====
GERRIT
------
Part of link:index.html[Gerrit Code Review]
SEARCHBOX
---------