2.3. Hammer 管理员

管理服务器端任务

Usage:
    hammer admin [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 logging                       Logging verbosity level setup

Options:
 -h, --help                    Print help

2.3.1. Hammer 管理日志记录

日志详细程度设置

Usage:
    hammer admin logging [OPTIONS]

Options:
 --no-backup                   Skip configuration backups creation.
 --prefix VALUE                Operate on prefixed environment (e.g. chroot).
 -a, --all                     Apply to all components.
 -c, --components LIST         Components to apply, use --list to get them.
 -d, --level-debug             Increase verbosity level to debug.
 -h, --help                    Print help
 -l, --list                    List available components.
 -n, --dry-run                 Do not apply specified changes.
 -p, --level-production        Decrease verbosity level to standard.

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string