show log config

モード: 特権EXECモード
カテゴリー: 運用・管理 / ログ


# show log config


ログ出力先の定義内容(出力先、状態、メッセージフィルターなど)や統計情報を表示する。


使用例

awplus# show log config

Facility: local0 (local use 0)

Buffered log:
  Status ......... enabled
  Maximum size ... 50kb
  Filters:
 *1   Level ...... notices
      Program .... any
      Facility ... any
      Msg text ... any
      Type ....... include
  Statistics ..... 59 messages received, 20 accepted by filter (2012 Jan 13 23:3
3:17)
Permanent log:
  Status ......... enabled
  Maximum size ... 50kb
  Filters:
 *1   Level ...... warnings
      Program .... any
      Facility ... any
      Msg text ... any
      Type ....... include
  Statistics ..... 59 messages received, 0 accepted by filter (2012 Jan 13 23:33
:17)
Host 10.100.10.100:
  Time offset .... +3:00
  Offset type .... Local
  Source ......... 192.168.1.100
  Secured ........ disabled
  Delay parameters:
    Startup-Delay: 120
    Buffered-Messages: 2000
  Filters:
  1   Level ...... errors
      Program .... any
      Facility ... any
      Msg text ... any
      Type ....... include
  2   Level ...... any
      Program .... ospf
      Facility ... any
      Msg text ... any
      Type ....... include
  Statistics ..... 59 messages received, 1 accepted by filter (2012 Jan 13 23:33
:17)
Monitor log:
  Filters:
 *1   Level ...... debugging
      Program .... any
      Facility ... any
      Msg text ... any
      Type ....... include
  Statistics ..... Not available
Console log:
  Status ......... enabled
  List of consoles:
  1 .............. ttyS0
  Filters:
 *1   Level ...... critical
      Program .... any
      Facility ... any
      Msg text ... any
      Type ....... include
  Statistics ..... 59 messages received, 0 accepted (2012 Jan 13 23:33:17)
External log:
  Status ......... enabled
  Log file ....... usb:/sample.log
  Rotation ....... 4
  Maximum size ... 1024kb
  Filters:
 *1   Level ...... notices
      Program .... any
      Facility ... any
      Msg text ... any
      Type ....... include
  Statistics ..... 225960 messages received, 219939 accepted, 0 excluded (2017 J
un 19 03:04:18 sysl)


注意・補足事項

■ 本コマンドはEXECモードだけでなくグローバルコンフィグモードでも実行できる。


関連コマンド

log(グローバルコンフィグモード)
log exclude(グローバルコンフィグモード)
log facility(グローバルコンフィグモード)
log host source(グローバルコンフィグモード)
log host startup-delay(グローバルコンフィグモード)
log rotate(グローバルコンフィグモード)
log size(グローバルコンフィグモード)
log time(グローバルコンフィグモード)
log(filter)(グローバルコンフィグモード)



(C) 2019 アライドテレシスホールディングス株式会社

PN: 613-002735 Rev.C