Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 202 of 796  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  66932   Thu Nov 11 22:25:18 2010 Reply Arno TeunisseA.teeling3@chello.nlQuestionWindows2.8.0-2331Re: elog password , attributes and quoting username and password

Yoshio Imai wrote:

Arno Teunisse wrote:

Please Notice that I've put quotes around : -u "username password" ( the documentation shows that this is not necessary) .  But now it failes to see a required attribute.  

Have you tried without the quotes? They may not be allowed!

 Hello Yoshio

Thanks for the answer. Just solved the problem i was having. It seems that the -m option for elog.exe is a required commandline option. When skipping it elog just waits to get something.
Thanks for the time you took to answer this question.

Kind regards Arno Teunisse

 

  66933   Fri Nov 12 11:48:54 2010 Reply Yoshio ImaiQuestionWindows2.8.0-2331Re: elog password , attributes and quoting username and password

Arno Teunisse wrote:
It seems that the -m option for elog.exe is a required commandline option.


You are right; I didn't see that part was missing. On the other hand, I obviously didn't see a few other things in your post, either ... Wink
  66934   Fri Nov 12 13:12:02 2010 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.8.0-2331Re: elog password , attributes and quoting username and password

Arno Teunisse wrote:

Yoshio Imai wrote:

Arno Teunisse wrote:

Please Notice that I've put quotes around : -u "username password" ( the documentation shows that this is not necessary) .  But now it failes to see a required attribute.  

Have you tried without the quotes? They may not be allowed!

 Hello Yoshio

Thanks for the answer. Just solved the problem i was having. It seems that the -m option for elog.exe is a required commandline option. When skipping it elog just waits to get something.
Thanks for the time you took to answer this question.

Kind regards Arno Teunisse

 

There are three ways to supply the elog main body text:

1) Via a text file and the -m switch 

2) On the command line, like

elog -h localhost -p 8080 -l demo -a author=sr -a type=Routine "this is the main body text"

3) Interactively. If you omit both the -m switch and the text, elog reads from the terminal. You can enter several lines, and finish with Ctrl-Z (Windows) and Ctrl-D (Linux)

C:\>elog -h localhost -p 8080 -l demo -a author=sr -a type=Routine
This is the
main body text
^Z
  66943   Wed Nov 17 11:48:03 2010 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.8.0-2331Re: elog password , attributes and quoting username and password

Yoshio Imai wrote:

Arno Teunisse wrote:

Please Notice that I've put quotes around : -u "username password" ( the documentation shows that this is not necessary) .  But now it failes to see a required attribute.  

Have you tried without the quotes? They may not be allowed!

Just for the record: It's actually forbidden. If you do -u "username password" then elog considers "username password" as the full user name, and the password is missing, so it takes the next argument as a password. In one of our trials it then used -a "Category=info" as the password, so the category was then missing. 

  210   Mon Feb 10 23:11:25 2003 Entry eric wootenwootene@verizon.netQuestion  Re: elog notification process causes the email to be truncated when going to Blackberry
Another Question:  Could ELOG be configured to send notifications as a Blind 
Copy?  Just wondering if that would take care of the problem?

> Hi Stefan,
> 
> Many users have there email forward to Blackberry devices.  Although I 
> wasn't aware, it appears the Blackberry has a limit (or maybe one was set) 
> of how big the message can be (still checking for that though).
> 
> Previously, a modification was made that addressed the issue of slow ELOG 
> response when saving the elog entry.   I think the change was for ELOG to 
> generate one email and send to all the users designated to receive the 
> notification.  This caused everyone to show up as "TO" addresses.
> 
> This change makes the Email header increase in size (length).  I guess the 
> Blackberry counts the Header portion as part of the email size limit.
> 
> Any ideas?
> 
> Thanks, 
> Eric
  211   Mon Feb 10 23:19:50 2003 Entry eric wootenwootene@verizon.netQuestion  Re: elog notification process causes the email to be truncated when going to Blackberry
I just noticed that the notifications I receive from your ELOG system, 
doesn't show anyone in the "TO:" section but myself.  Or is ELOG configured 
to only send myself a message?


> Another Question:  Could ELOG be configured to send notifications as a 
Blind 
> Copy?  Just wondering if that would take care of the problem?
> 
> > Hi Stefan,
> > 
> > Many users have there email forward to Blackberry devices.  Although I 
> > wasn't aware, it appears the Blackberry has a limit (or maybe one was 
set) 
> > of how big the message can be (still checking for that though).
> > 
> > Previously, a modification was made that addressed the issue of slow ELOG 
> > response when saving the elog entry.   I think the change was for ELOG to 
> > generate one email and send to all the users designated to receive the 
> > notification.  This caused everyone to show up as "TO" addresses.
> > 
> > This change makes the Email header increase in size (length).  I guess 
the 
> > Blackberry counts the Header portion as part of the email size limit.
> > 
> > Any ideas?
> > 
> > Thanks, 
> > Eric
  213   Tue Feb 11 08:57:39 2003 Reply Stefan Rittstefan.ritt@psi.chQuestion  Re: elog notification process causes the email to be truncated when going to Blackberry
> I just noticed that the notifications I receive from your ELOG system, 
> doesn't show anyone in the "TO:" section but myself.  Or is ELOG 
configured 
> to only send myself a message?

This is on purpose. I have many people registered for the Forum. So when a 
notification is sent, it is not a good idea if everybody sees everybody 
else's mail addresses. Therefor I have 

Omit Email to = 1

in the config file. This way the "To:" field is omitted to "hide" the mail 
recipients from each other. Your mail client realizes that and fills in your 
own address automatically, that's why you only see yourself. Maybe you try 
that option, might help with your previous problem as well.

- Stefan
  66876   Fri Aug 6 12:55:08 2010 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.8.0Re: elog keeps recreating preview .png files?

Kontantin Olchanski wrote:

Hi, I rsync an elog database from CERN to TRIUMF every few months and I notice that rsync keeps copying preview files (xxx.png.png, xxx.gif.png, etc) from very old entries. I guess that elogd creates these files from scratch each time they are needed, overwriting any previously existing preview files. This creates extra rsync network traffic and rsync takes longer to complete. Is there any way to avoid this? K.O.

 

Actually the thumbnail files are only created if they are not there. This is done in the function crate_thumbnail():

   i = get_thumb_name(file_name, str, sizeof(str), 0);

   if (i)

      return i;

So if these files are recreated always, something must be wrong there. Or you sysadmin runs a cron job which deletes them every evening 
ELOG V3.1.5-2eba886