Documentation for C-Werk 2.0.

Previous page Next page

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

On the page:


By default, the logging level for the Consul and Nomad processes is set as Info (see Configuring Logging levels). If you want to log debugging events, you must change the logging level for the Consul and Nomad processes to Debug.

Changing the logging level for Consul

To change the logging level for the Consul process, do the following:

  1. Open the file in a text editor:
    • Windows OS: C:/ProgramData/Grundig/C-Werk/RaFT/cluster/consul/config/main.json.
    • Linux OS: /opt/Grundig/RaFT/data/cluster/consul/config/main.json.
  2. Change the value of the log_level parameter to DEBUG.

    "log_level": "DEBUG"
  3. Save the file:
    • Windows OS: C:/ProgramData/Grundig/C-Werk/RaFT/cluster/consul/config/main.json.
    • Linux OS: /opt/Grundig/RaFT/data/cluster/consul/config/main.json.
  4. Run command prompt as administrator and go to the folder:
    • Windows OSC:/Program Files/RaftLauncher/current/.

    • Linux OS: /opt/Grundig/RaFT/bin/.
  5. Execute the command to restart the process and change the logging level:
    • Windows OS:

      consul.exe reload
    • Linux OS:

      consul reload

Changing the logging level for Nomad

To change the logging level for the Nomad process, do the following:

  1. Open the file in a text editor:
    • Windows OSC:/ProgramData/Grundig/C-Werk/RaFT/cluster/nomad/config/misc.json.

    • Linux OS: /opt/Grundig/RaFT/data/cluster/nomad/config/misc.json.
  2. Change the value of the log_level parameter to DEBUG.

    "log_level": "DEBUG"
  3. Save the file:
    • Windows OSC:/ProgramData/Grundig/C-Werk/RaFT/cluster/nomad/config/misc.json.

    • Linux OS: /opt/Grundig/RaFT/data/cluster/nomad/config/misc.json.
  4. Run command prompt as administrator and go to the folder:
    • Windows OSC:/Program Files/RaftLauncher/current/.

    • Linux OS: /opt/Grundig/RaFT/bin/.
  5. Execute the command to restart the process and change the logging level:
    • Windows OS:

      nomad.exe reload
    • Linux OS:

      nomad reload

As a result, the process will restart and from the moment it restarts, the detailing in the logs will increase because the logging level will change to Debug.

  • No labels