steve-community/steve

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
not available

Steps to Reproduce the Problem

  1. open steve directory
  2. start docker
  3. open web interface
  4. hit logs button in top right
  5. 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?