Chapter 5. Web Administration Log Levels


In Web Administration, the log messages of different components and services are logged by tendrl-node-agent. It receives all the log messages from other components via a socket and logs the messages using syslog.

tendrl-node-agent logs messages for the following Web Administration components:

Server-side Web Administration components:

  • tendrl-monitoring-integration
  • tendrl-notifier

Storage node-side Web Administration components:

  • tendrl-gluster-integration

These are the available log levels for Web Administration:

  1. DEBUG
  2. INFO
  3. WARNING
  4. ERROR (Default)
  5. CRITICAL
Note

The log levels are case-sensitive. Input the log levels in uppercase format to avoid any error messages.

To change the default log level (ERROR), follow these steps:

  1. Open the logging configuration yaml file in an editor:

    /etc/tendrl/node-agent/node-agent_logging.yaml
  2. Change the log level by modifying all instances of level variables under handlers and root:

    handlers:
        console:
            class: logging.StreamHandler
            level: ERROR 1
            stream: ext://sys.stdout
    
        info_file_handler:
            class: logging.handlers.SysLogHandler
            facility: local5
            address: /dev/log
            level: ERROR 2
    
    root:
        level: ERROR 3
        handlers: [console, info_file_handler]
    1
    Enter new log level
    2
    Enter new log level
    3
    Enter new log level
  3. Restart the tendrl-node-agent service by:

    # service tendrl-node-agent restart
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

© 2024 Red Hat, Inc.