1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 <2021> 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 <2021> 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | phoebus-olog |
From: | "Leblanc, Gregory via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Tue, 12 Oct 2021 20:22:31 +0000 |
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 M: (401) 52-OUAL1 or (401) 526-8251 |