#!/bin/bash
# hzhub-gateway 日志查看脚本

cd "$(dirname "$0")"

LOG_FILE="logs/gateway.log"

if [ -f "$LOG_FILE" ]; then
    tail -f "$LOG_FILE"
else
    echo "Log file not found: $LOG_FILE"
    echo "Start the service first to generate logs."
fi
