Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker log output not visible until tentris_server is shut down #96

Open
KonradHoeffner opened this issue Sep 20, 2023 · 0 comments
Open

Comments

@KonradHoeffner
Copy link

KonradHoeffner commented Sep 20, 2023

With the following command I do not see any log messages until the server is shut down.

$ docker run -v /tmp/log:/tentris -v ./anno:/datasets --publish=9080:9080 dicegroup/tentris_server --loglevel trace --logstdout -f /datasets/annods2309.ttl

Maybe there needs to be a flush to the logs somewhere in the code?

Output after hitting CTRL+C:

1 | 2023-09-20 09:46:30.443732 | 0x00000000016aa580 | info | Running tentris 1.0.7 with hypertrie 0.5.3
2 | 2023-09-20 09:46:30.443803 | 0x00000000016aa580 | info | time: 2023-09-20_09:46:30
3 | 2023-09-20 09:46:30.443811 | 0x00000000016aa580 | info | Mem: 8984 kB
4 | 2023-09-20 09:46:30.443817 | 0x00000000016aa580 | info | nt-file: /datasets/annods2309.ttl loading ...
5 | 2023-09-20 09:46:30.495563 | 0x00000000016aa580 | info |     0.0284 mio triples processed.
6 | 2023-09-20 09:46:30.495583 | 0x00000000016aa580 | info |     0.0284 mio triples loaded.
7 | 2023-09-20 09:46:30.495613 | 0x00000000016aa580 | info | time: 2023-09-20_09:46:30
8 | 2023-09-20 09:46:30.495616 | 0x00000000016aa580 | info | Mem: 37076 kB
9 | 2023-09-20 09:46:30.495619 | 0x00000000016aa580 | info | duration: 0 h 0 min 0.051 s = 51 ms
10 | 2023-09-20 09:46:30.495796 | 0x00000000016aa580 | info | SPARQL endpoint serving sparkling linked data treasures on 24 threads at http://0.0.0.0:9080/sparql?query=
11 | 2023-09-20 09:47:42.483352 | 0x00000000016aa580 | info | Shutdown successful.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant