Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section


Column
width50%


Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
borderStylesolid
titleOn the page:

Table of Contents



Column

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:



기본적으로 Consul 및 Nomad 프로세스의 로깅 수준은 정보로 설정됩니다 (로깅 수준 구성 참고). 디버깅 이벤트를 기록하려면 Consul 및 Nomad 프로세스의 로깅 수준을 디버그로 변경해야 합니다.

Consul의 로깅 수준 변경

Consul 프로세스의 로깅 수준을 변경하려면 다음을 수행합니다.

  1. 텍스트 편집기에서 파일을 엽니다.Open the file in a text editor:
    • Windows OS: C:/ProgramData/AxxonSoft/Axxon One/RaFT/cluster/consul/config/main.json.
    • Linux OS: /opt/AxxonSoft/RaFT/data/cluster/consul/config/main.json.
  2. Change the value of the log_level parameter to DEBUG매개변수의 값을 DEBUG로 변경합니다.

    Code Block
    "log_level": "DEBUG"


  3. 파일을 저장합니다.Save the file:
    • Windows OS: C:/ProgramData/AxxonSoft/Axxon One/RaFT/cluster/consul/config/main.json.
    • Linux OS: /opt/AxxonSoft/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/AxxonSoft/RaFT/bin/.
  5. 다음 명령을 실행하여 프로세스를 다시 시작하고 로깅 수준을 변경합니다.Execute the command to restart the process and change the logging level:
    • Windows OS:

      Code Block
      consul.exe reload


    • Linux OS:

      Code Block
      consul reload

Changing the logging level for Nomad

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


Nomad의 로깅 수준 변경

Nomad 프로세스의 로깅 수준을 변경하려면 다음을 수행합니다.

  1. 텍스트 편집기에서 파일을 엽니다.Open the file in a text editor:
    • Windows OSC:/ProgramData/AxxonSoft/Axxon One/RaFT/cluster/nomad/config/misc.json.

    • Linux OS: /opt/AxxonSoft/RaFT/data/cluster/nomad/config/misc.json.
  2. Change the value of the log_level parameter to DEBUG매개변수의 값을 DEBUG로 변경합니다.

    Code Block
    "log_level": "DEBUG"


  3. 파일을 저장합니다.Save the file:
    • Windows OSC:/ProgramData/AxxonSoft/Axxon One/RaFT/cluster/nomad/config/misc.json.

    • Linux OS: /opt/AxxonSoft/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/AxxonSoft/RaFT/bin/.
  5. 다음 명령을 실행하여 프로세스를 다시 시작하고 로깅 수준을 변경합니다.Execute the command to restart the process and change the logging level:
    • Windows OS:

      Code Block
      nomad.exe reload


    • Linux OS:

      Code Block
      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결과적으로 프로세스가 다시 시작되고 다시 시작되는 순간부터 로깅 수준이 디버그로 변경되므로 로그의 세부 정보가 늘어납니다.