Skip to content

Commit

Permalink
🔧 (Makefile): rename web.log to slack_bot.log for clarity in logging …
Browse files Browse the repository at this point in the history
…and process management
  • Loading branch information
kyaukyuai committed Feb 6, 2025
1 parent e0dac21 commit 08a5de0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ dev:
@echo "Starting development servers..."
@echo "LangGraph will be available at http://localhost:${LANGGRAPH_PORT}"
@echo "Web server will be available at http://localhost:${WEB_PORT}"
make dev-langgraph > langgraph.log 2>&1 & make dev-web > web.log 2>&1 & < /dev/null &
@echo "Servers started in background. Check langgraph.log and web.log for output"
make dev-langgraph > langgraph.log 2>&1 & make dev-web > slack_bot.log 2>&1 & < /dev/null &
@echo "Servers started in background. Check langgraph.log and slack_bot.log for output"
@echo "Use 'make logs' to tail the log files"
@echo "Use 'make kill' to stop the servers"

# Log monitoring
logs:
@echo "Tailing log files..."
tail -f langgraph.log web.log
tail -f langgraph.log slack_bot.log

# Process management
kill: kill-dev-web kill-dev-langgraph
Expand All @@ -63,7 +63,7 @@ kill: kill-dev-web kill-dev-langgraph
kill-dev-web:
@echo "Killing web server..."
@lsof -ti:${WEB_PORT} | xargs kill -9 2>/dev/null || true
@rm -f web.log
@rm -f slack_bot.log
@echo "Web server stopped and log file removed"

kill-dev-langgraph:
Expand Down

0 comments on commit 08a5de0

Please sign in to comment.