Versions Compared

Key

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

...

Code Block
bsrcon
usage: bsrcon cmds options
...
  /maxlogfile_cnt [LogFileMaxCount : 0 ~ 1000]
  /climaxlogfile_cnt [adm, setup, meta] [LogFileMaxCount : 0 ~ 255]
  /minlog_lv [sys, dbg] [Level : 0~7] level info, emerg(0) alert(1) criti(2) err(3) warning(4) notice(5) info(6) debug(7)
  /minlog_lv feature [flag : 0,1,2,4] level info, none(0) oos(1) latency(2) verify(4)
...

형식

  • 커널로그

    • 순서, 날짜, 시간, 함수, 로그 분류, 로그 인덱스, 로그 수준, 로그 내용

      Code Block
      0000006800000219 0709/15/2020 1314:4342:1104.3433936220 [statebsr_changebm_lockresize] bsr_warn<4>[0xFFFFE0013C788880] worker should not initiate state changes with CS_SERIALIZE current:FFFFF801C0154B90 resource->worker.task:FFFFE0013E78BC20
      00000069 07/15/2020 13:43:11.343 [print_state_change[BITMAP:23] bsr_info<6>bsrinfo<6> r0 pnode-id:0, cs(StandAlone), prole(Unknownbsr r2/0 minor 4, ds(Attaching), cflagdvflag(0x0), scf(0x2a): bsr_adm_connect, conn( StandAlone -> Unconnected )
      00000070 07/15/2020 13:43:11.343 [NetlinkWorkThread] bsr_info<6>[0xFFFFE0013C788880] bsr netlink cmd(BSR_ADM_CONNECT:10) done (cmd_pending:0) <-bitmap resize called with capacity(31451136)
  • 응용로그

    • 날짜, 시간, 로그 수준, pid, 함수, 라인, 실행 명령, 로그 내용

      Code Block
      2020/07/15 16:18:39 bsr_erro [pid:2060][func:err][line:1056][cmd:NULL] bsradm: Unknown command 'resoure'
      2020/07/15 16:18:44 bsr_erro [pid:1160][func:err][line:1056][cmd:status] '10' not defined in your config (for this host).

...