EPICS Home

Experimental Physics and Industrial Control System


 
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: Use of elog inside Phoebus
From: Andrea Celentano via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Sat, 26 Apr 2025 10:38:24 +0200
Dear colleagues,
I am trying to use the elog application inside Phoebus. The details I found about this are in these slides: https://indico.fhi-berlin.mpg.de/event/52/contributions/564/attachments/222/683/phoebus-elog-client.pdf

I did the following:

1. I compiled phoebus from scratch with maven (master from gitlab), adding the elog application to build.xml

    <ant dir="app/logbook/ui"/>

    <ant dir="app/logbook/elog"/>       —-> My addiction

    <ant dir="app/log-configuration"/>

 

2. I checked inside my elog installation to read the password:

 <password encoding="SHA256”>My password</password>


3. I added the following to my settings file:

org.phoebus.logbook/logbook_factory=elog
org.phoebus.logbook.ui/logbook_factory=elog
org.phoebus.elog.api/elog_url=http://my_elog_host:8080/Main
org.phoebus.elog.api/username=shift
org.phoebus.elog.api/password=My password
org.phoebus.elog.api/categories=Info, Problem, Shift summary, Data quality, Micromegas, ECAL, MasterTime, MSADC 
org.phoebus.elog.api/types=


When I start Phoebus with ./phoebus.sh -settings my_settings.ini and I open the logbook, I get the following error:

2025-04-26 10:37:40 INFO [org.phoebus.logbook.olog.ui.LogEntryTableViewController] Single search: *

2025-04-26 10:37:40 SEVERE [org.phoebus.logbook.olog.ui.LogbookSearchJob] Failed to obtain logs

org.phoebus.logbook.LogbookException: java.lang.UnsupportedOperationException

at org.phoebus.logbook.LogClient.search(LogClient.java:494)

at org.phoebus.logbook.olog.ui.LogbookSearchJob.lambda$getRunnable$0(LogbookSearchJob.java:59)

at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)

at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)

at java.base/java.lang.Thread.run(Thread.java:842)

Caused by: java.lang.UnsupportedOperationException

... 9 more


What I do not understand is why the “olog” app is referred to in this error, since I am not using it at all..

Thanks,
Bests,
Andrea Celentano


Replies:
Re: Use of elog inside Phoebus Florian Feldbauer via Tech-talk

Navigate by Date:
Prev: RTEMS uC5282 BSP Issues Joel Sherrill via Tech-talk
Next: Frequent Retrieval Service Failures on Archiver Appliance Node 吕慧慧 via Tech-talk
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
Navigate by Thread:
Prev: RTEMS uC5282 BSP Issues Joel Sherrill via Tech-talk
Next: Re: Use of elog inside Phoebus Florian Feldbauer via Tech-talk
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