Logs are Unavailable
Closed this issue · 3 comments
SteVe Version : 3.6.0
Operating system : Ubuntu 22.04 Virtual Machine Running on Windows 11 Host
JDK : java 21.0.2 on host
Expected Behavior
when hitting the log button on the steve web interface, a log will appear
Actual Behavior
a mostly blank page appears that says steve log unavailable
Steps to Reproduce the Problem
- open steve directory
- start docker
- open web interface
- hit logs button in top right
- get logs unavailable error
When running Steve with Docker, there is currently no log available in the web interface.
This is in line with the expected behavior when running "cloud" services, as outlined in the 12-factor methodology for building software-as-a-service applications.
To address this, it is recommended to redirect the image output into a dedicated log service.
Furthermore, it may be advisable to hide the log link when it is not available.
Do you have any documentation or resources that could help me with redirecting the image output to a dedicated log service?
You'll find many articles.
One of them https://sharmarajdaksh.github.io/blog/shoving-your-docker-logs-to-elk