Group,
I went down the rabbit hole[1] from Kay’s last email and got interested in Phoebus Olog. After a bunch of reading, compiling, and deleting various things, I wound up getting things going using the Docker Compose instructions at:
https://github.com/Olog/phoebus-olog/blob/master/README.md#running-using-docker-compose I can now access
http://localhost:8080/Olog and get a json dump that looks relatively sane.
{ "name" : "Olog Service", "version" : "1.0.0", "elastic" : { "status" : "Connected", "clusterName" : "elasticsearch", "clusterUuid" : "Ji0ntEK9THKFARye4DsNlw", "version" : "6.8.13" }, "mongo-gridfs" : { "status" : "Connected", "mongo"
: "{type=STANDALONE, servers=[{address=mongo:27017, type=STANDALONE, roundTripTime=3.9 ms, state=CONNECTED}]" } }
I think I should be able to point Phoebus to this Olog instance, and then get a table of log entries in Phoebus as shown on page 15 of Kunal’s presentation[2]. When I try using the menu Applications -> Utility -> Log Entry Table I get
nothing on screen, and the error log [3] shows errors that suggest I don’t have something configured properly.
java.lang.NullPointerException: Cannot invoke "org.phoebus.logbook.LogFactory.getLogClient()" because "this.logFactory" is null
I tried adding org.phoebus.olog.es.api/olog_url=http://localhost:8080/Olog to settings.ini and relaunching, but apparently that’s not the magic incantation. Can anybody point me to the docs that I’ve missed?
Greg
1: https://indico.lightsource.ca/event/2/contributions/54/
2:
https://indico.lightsource.ca/event/2/contributions/54/attachments/31/118/Phoebus%20Olog.pdf
3: https://pastebin.com/SJMavrsr
--
Gregory Leblanc
Accelerator Engineer
Edwards Accelerator Lab - Ohio University
123 University Terrace
Athens, OH 45701 USA
leblanc at ohio.edu
M: (401) 52-OUAL1 or (401) 526-8251