You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the embedded REST service, I can see its own log messages interweaved in ANNIS's main log, viewed via journalctl. However, when the REST service crashes for some reason, the error which says what went wrong is not shown, e.g. this:
Error: Custom { kind: Other, error: "Could not initialize graphANNIS service: could not lock corpus directory data/\n\nCaused by:\n Permission denied (os error 13)" }
I assume this is because this doesn't go through the logging interface, it just gets printed to STDERR?
This makes it quite hard to debug REST service startup issues. It's one of the reasons I ended up setting up a separate systemd service for the REST service, because these errors do show up there. Whereas with the embedded REST service, I guess they're swallowed up by the parent Java process.
The text was updated successfully, but these errors were encountered:
772: Do not skip error messages when started service is aborted. r=thomaskrause a=thomaskrause
This could happen e.g. because graphANNIS refuses to start.
This fixes#761
Co-authored-by: Thomas Krause <thomas.krause@hu-berlin.de>
When using the embedded REST service, I can see its own log messages interweaved in ANNIS's main log, viewed via
journalctl
. However, when the REST service crashes for some reason, the error which says what went wrong is not shown, e.g. this:I assume this is because this doesn't go through the logging interface, it just gets printed to STDERR?
This makes it quite hard to debug REST service startup issues. It's one of the reasons I ended up setting up a separate systemd service for the REST service, because these errors do show up there. Whereas with the embedded REST service, I guess they're swallowed up by the parent Java process.
The text was updated successfully, but these errors were encountered: