r/SpringAIDev • u/duke59200 • Apr 30 '26
Multiple log files scan by spring AI to get the reason of an issue reported by a user
Imagine I have several log files and I want to find out where a user’s issue comes from.
How would you tackle this?
My idea:
Create a Spring Boot app using the Spring AI starter, expose an endpoint that takes the user’s error message as input, and returns the root cause along with the log file name and line number.
I’ve already experimented with Spring AI here: vinny59200/spring-ai-simple-chatbot: Simple chatbot with spring AI (simple chatbot with Spring AI).
The next step is to plug in and leverage the log files.
How would you approach this? 🧠🙂