Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 722 of 795  Not logged in ELOG logo
ID Date Iconup Author Author Email Category OS ELOG Version Subject
  69448   Tue Dec 14 21:55:16 2021 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows3.1.4Re: Log4j exploit

ELog does not use the Log4j library so no issue there. If you run a web server like Apache in front of ELog, you however have to check if you use log4j there.

Alan Grant wrote:

Is there any potential impact/concern with the Log4j exploit in Elog applications?

 

 

  69449   Thu Dec 16 08:23:22 2021 Reply Sergio Navarretesergionavarrete@gmail.comQuestionWindows3.1.3Re: Logfile not registering entry numbers?

It seems that the latest Windows binary still predates this fix. Will there be a new installer soon? Thanks for your support.

Stefan Ritt wrote:

I finally found some time to fix that bug. Was just that the log file hat #0, the bug should not have had any ohter side effects. Now the logfile is fine.

David Pilgram wrote:

As a regular elog (ab)user, I have seen this behaviour from time to time.  So far as I recall, the cause actually is that a normal entry is looking for the entry in the "Reply to" field of the normal entry in the yymmdda.log file.  When that entry does not exist, then I see a duplicate line of an entry with entry "#0", in emboldened black type.  I did have a screenshot, but cannot find it for now. 

A quick (relative term, that) search usually finds the entry which references the missing "Reply to" line, and editing that, all is well.  I'm not sure how this can happen, but it does.  NB, I'm still on elog 2.9.2 so I don't know how the draft facility works and possibly enhances the possibility of this issue.

 

Note that this is different to the case (rather more frequent) where the entry in  the "In reply to" field is missing.  This causes elog to go into a continuous loop and only the strongest measures  ("kill -9 xxxx in linux) will break this out.  This can happen more frequently as if you delete a thread with a large number (>40?) of entries, elog crashes, but more importantly, hasn't finished the job.  Clicking on the remenents of the thread (which are usually the later entries) causes the endless loop.

Andreas Luedeke wrote:

It looks like you've found a bug in ELOG. I've checked my elog.log and see that all NEW entry lines show "#0".

I've looked into the code: the message is written before the new entry is submitted, and only then the entry ID is defined.
For new entries one would need to make the logging print line later - but that would blow up the code.
The message IDs are correct for saving drafts and editing entries. I'll discuss with Stefan if that should be fixed.
 
Andreas
 
Sergio Navarrete wrote:

I have configured a logbook with the logfile on, but when a user replies to an entry the line logged goes

Date Time [User@IP] {Logbook} NEW entry #0

How can I make the #0 be the real entry number for the reply?

 

 

 

 

 

  69450   Thu Dec 16 18:24:41 2021 Reply Andreas Luedekeandreas.luedeke@psi.chQuestionLinux3.1.4Re: Unclear how to use the command line tool /usr/bin/elog

Now you've totally lost me.

elogd is a web service. You connect to it with a web browser. You don't pass arguments at startup of the service that refers to specific atrributes. I have no idea what you intend to do, you need to explain a lot more.

Jose Caballero wrote:

Hi Andreas,

I realize from your response that my question was not clear. I was not asking how to get it. Note that I am just a regular user, I am not the administrator of the service.

My question was about how to use it. From the man page, or from the explanation in the Administration Guide, it is not clear to me how to pass the same arguments I have been trying for /usr/bin/elog. For example, how to pass the list of attributes. I don't see a "-a" option for elogd. 

Thanks.

Andreas Luedeke wrote:

It is the default. If you install ELOG on your PC and run it, then every access will be directly to the ELOG web service. If you want to have Apache inbetween, it is some extra effort.

Jose Caballero wrote:

Nope. How? Is it documented? 

Stefan Ritt wrote:

Have you tried to connect directly to elogd and not going through Apache? 

Jose Caballero wrote:

Thanks for the comments. I will pass them to the admins. 

 

 

 

 

  69451   Thu Dec 16 21:34:05 2021 Reply Jose Caballerojcaballero.hep@gmail.comQuestionLinux3.1.4Re: Unclear how to use the command line tool /usr/bin/elog

Hi Andreas. 

It seems I didn't fully understand the comment by Stefan when he said "Have you tried to connect directly to elogd and not going through Apache?". My bad. 

 

Andreas Luedeke wrote:

Now you've totally lost me.

elogd is a web service. You connect to it with a web browser. You don't pass arguments at startup of the service that refers to specific atrributes. I have no idea what you intend to do, you need to explain a lot more.

Jose Caballero wrote:

Hi Andreas,

I realize from your response that my question was not clear. I was not asking how to get it. Note that I am just a regular user, I am not the administrator of the service.

My question was about how to use it. From the man page, or from the explanation in the Administration Guide, it is not clear to me how to pass the same arguments I have been trying for /usr/bin/elog. For example, how to pass the list of attributes. I don't see a "-a" option for elogd. 

Thanks.

Andreas Luedeke wrote:

It is the default. If you install ELOG on your PC and run it, then every access will be directly to the ELOG web service. If you want to have Apache inbetween, it is some extra effort.

Jose Caballero wrote:

Nope. How? Is it documented? 

Stefan Ritt wrote:

Have you tried to connect directly to elogd and not going through Apache? 

Jose Caballero wrote:

Thanks for the comments. I will pass them to the admins. 

 

 

 

 

 

  69453   Fri Dec 17 12:11:22 2021 Reply Stefan Rittstefan.ritt@psi.chQuestionAll3.1.4-395e101Re: Adjustment of summary columns

You can manually modify the CSS style to adjust column widths. Locate elog.css which resides under elog/themes/default/elog.css, then find the class “.listtitle”, and modify the line

width: 0%;

to something like

width: 10%;

you can play with the width until it suits your needs. After each change, you have to reload the page in the browser to see the effect.

If you only want to change the width of a specific column, add following lines to your elog.css:

.listtitle:nth-child(4) {
  width:30%;
}

where ‘4” is for example the 4th column. You can have several of these statements for different columns.

To hide the text, use the option 'summary lines' as described in the manual.
 

Mariia Fedkevych wrote:
Hi!

Is it possible to manage the column widths on a logbook's summary page one by one?
Also, is it possible to hide the Text column without actually hiding the text body in entries (as Show Text = 0 in elog.cfg does)?

Kind regards,
Mariia

 

  Draft   Tue Dec 21 10:40:11 2021 Reply Mariia Fedkevychmariia.fedkevych@ge.infn.itQuestionAll3.1.4-395e101Re: Adjustment of summary columns

Thank you!

Stefan Ritt wrote:

You can manually modify the CSS style to adjust column widths. Locate elog.css which resides under elog/themes/default/elog.css, then find the class “.listtitle”, and modify the line

width: 0%;

to something like

width: 10%;

you can play with the width until it suits your needs. After each change, you have to reload the page in the browser to see the effect.

If you only want to change the width of a specific column, add following lines to your elog.css:

.listtitle:nth-child(4) {
  width:30%;
}

where ‘4” is for example the 4th column. You can have several of these statements for different columns.

To hide the text, use the option 'summary lines' as described in the manual.
 

Mariia Fedkevych wrote:
Hi!

Is it possible to manage the column widths on a logbook's summary page one by one?
Also, is it possible to hide the Text column without actually hiding the text body in entries (as Show Text = 0 in elog.cfg does)?

Kind regards,
Mariia

 

 

  69456   Fri Jan 28 17:37:55 2022 Reply Mariia Fedkevychmariia.fedkevych@ge.infn.itQuestionAll3.1.4-395e101Re: Adjustment of summary columns

Thank you!

Stefan Ritt wrote:

You can manually modify the CSS style to adjust column widths. Locate elog.css which resides under elog/themes/default/elog.css, then find the class “.listtitle”, and modify the line

width: 0%;

to something like

width: 10%;

you can play with the width until it suits your needs. After each change, you have to reload the page in the browser to see the effect.

If you only want to change the width of a specific column, add following lines to your elog.css:

.listtitle:nth-child(4) {
  width:30%;
}

where ‘4” is for example the 4th column. You can have several of these statements for different columns.

To hide the text, use the option 'summary lines' as described in the manual.
 

Mariia Fedkevych wrote:
Hi!

Is it possible to manage the column widths on a logbook's summary page one by one?
Also, is it possible to hide the Text column without actually hiding the text body in entries (as Show Text = 0 in elog.cfg does)?

Kind regards,
Mariia

 

 

  69460   Mon Jan 31 09:10:41 2022 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux3.1.4-3Re: elog@Ubuntu 18.04

Looks like you don't have shared libraries correctly configured on your system. Try "ldconfig" on your system or link elogd statically (google how to do that).

Stefan

Carsten Winkler wrote:

Hello,

I try to start elog at Ubuntu 18.04. When I run sudo /usr/local/sbin/elogd -D -c /usr/local/elog/elogd.cfg I get following error:
/usr/lib/libssl.so.10: version `libssl.so.10' not found (required by /usr/local/sbin/elogd)

I checked following:
ls -l /usr/lib/libssl.so.10
lrwxrwxrwx 1 root root 41 Jan 29 08:24 /usr/lib/libssl.so.10 -> /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
ls -l /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
-rw-r--r-- 1 root root 424664 Aug 24 18:16 /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0

What's going wrong? And how to solve the problem?

Best,
Carsten

 

ELOG V3.1.5-fe60aaf