Skip to content

Bad tfw_logger error message #2

@krizhanovsky

Description

@krizhanovsky
# cat xfw_logger.json 
        {
            "log_path": "/var/log/tempesta-escudo/tfw_logger.log",
            "xfw_events": {
                "plugin_path": "/root/ao/escudo_install/lib/incident_log.so",
                "port": 9000,
                "user": "default",
                "password": "",
                "db_name": "default",
                "table_name": "incident_log",
                "max_events": 1000,
                "max_wait_ms": 100
            }
        }

With no local ClickHouse running produce bad (unclear) error messages in the log:

Failed to connect to ClickHouse: fail to connect: Connection refused
  1. "fail to connect" duplicates "Failed to connect to ClickHouse"
  2. need to add IP address and port, which attempt to connect to

Metadata

Metadata

Assignees

No one assigned

    Labels

    good to startStart form this tasks if you're new in Tempesta xFWlow priority

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions