log date-format
- モード
- グローバルコンフィグモード
- カテゴリー
- 運用・管理 / ログ
構文
(config)# log date-format {default|iso}
コマンド説明
ログの日時フォーマットを変更する。パラメーター
default- 「
YYYY MMM DD hh:mm:ss」形式。初期設定
iso- 「
YYYY-MM-DDThh:mm:ssTZD」形式のISO 8601フォーマット
使用例
ログの日時をISO 8601フォーマットに変更する。awplus(config)# log date-format iso awplus(config)# show log tail ... 2020-05-08T13:28:03+09:00 user.notice awplus ...
ログの日時を本製品のデフォルトフォーマットに戻す。
awplus(config)# log date-format default awplus(config)# show log tail ... 2020 May 08 13:28:45 user.notice awplus ...