Documentation for Axxon One 2.0. Documentation for other versions of Axxon One is [available too].

Previous page Next page

On the page:


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

Consul의 로깅 수준 변경

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

  1. 텍스트 편집기에서 파일을 엽니다.
    • 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. log_level 매개변수의 값을 DEBUG로 변경합니다.

    "log_level": "DEBUG"
  3. 파일을 저장합니다.
    • 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. 관리자 권한으로 명령 프롬프트를 실행하고 다음 폴더로 이동합니다.
    • Windows OSC:/Program Files/RaftLauncher/current/.

    • Linux OS: /opt/AxxonSoft/RaFT/bin/.
  5. 다음 명령을 실행하여 프로세스를 다시 시작하고 로깅 수준을 변경합니다.
    • Windows OS:

      consul.exe reload
    • Linux OS:

      consul reload

Nomad의 로깅 수준 변경

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

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

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

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

    • Linux OS: /opt/AxxonSoft/RaFT/data/cluster/nomad/config/misc.json.
  4. 관리자 권한으로 명령 프롬프트를 실행하고 다음 폴더로 이동합니다.
    • Windows OSC:/Program Files/RaftLauncher/current/.

    • Linux OS: /opt/AxxonSoft/RaFT/bin/.
  5. 다음 명령을 실행하여 프로세스를 다시 시작하고 로깅 수준을 변경합니다.
    • Windows OS:

      nomad.exe reload
    • Linux OS:

      nomad reload

결과적으로 프로세스가 다시 시작되고 다시 시작되는 순간부터 로깅 수준이 디버그로 변경되므로 로그의 세부 정보가 늘어납니다.

  • No labels