github.com/muhammedhassanm/blockchain@v0.0.0-20200120143007-697261defd4d/sawtooth-core-master/docs/source/sysadmin_guide/configuring_sawtooth.rst (about)

     1  ********************
     2  Configuring Sawtooth
     3  ********************
     4  
     5  Each Sawtooth component, such as the validator or the REST API, has an optional
     6  configuration file that controls the component's behavior. You can also specify
     7  configuration options on the command line when starting the component. For more
     8  information, see :doc:`/cli`.
     9  
    10  When a Sawtooth component starts, it looks for a
    11  `TOML <https://github.com/toml-lang/toml>`_ configuration file in the config
    12  directory (``config_dir``). By default, configuration files are stored in
    13  ``/etc/sawtooth``; see :doc:`configuring_sawtooth/path_configuration_file` for
    14  more information on the config directory location.
    15  
    16  In addition, the Sawtooth log output can be configured with a log config file
    17  in `TOML <https://github.com/toml-lang/toml>`_ or `YAML <http://yaml.org>`_
    18  format. By default, Sawtooth stores error and debug log messages
    19  for each component in the log directory. For more information,
    20  see :doc:`log_configuration`.
    21  
    22  The following sections describe each component's configuration file.
    23  
    24  .. toctree::
    25     :maxdepth: 1
    26  
    27     configuring_sawtooth/validator_configuration_file
    28     configuring_sawtooth/rest_api_configuration_file
    29     configuring_sawtooth/cli_configuration
    30     configuring_sawtooth/poet_sgx_enclave_configuration_file
    31     configuring_sawtooth/path_configuration_file
    32     configuring_sawtooth/identity_tp_configuration
    33     configuring_sawtooth/settings_tp_configuration
    34     configuring_sawtooth/xo_tp_configuration
    35     log_configuration
    36  
    37  .. Licensed under Creative Commons Attribution 4.0 International License
    38  .. https://creativecommons.org/licenses/by/4.0/