Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 525 of 808  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Versiondown Subject
  65635   Thu Oct 25 23:55:28 2007 Entry Alan Stonealstone@fnal.govRequestLinux2.6.5-1844Email Notification: Clarification on Attribute - can value be a string?

I encountered a rather insidious feature which had me scratching trying quite
a number of things over the past couple of weeks until I compared what two
different users were doing.


I had defined the attributes:

; attributes
Attributes = Author, System, Report, Subject
Required Attributes = Author, System, Report, Subject
Extendable Options = System, Report
Options System = Data Transfer, RelVal, Skimming, Reconstruction, CSA07, Global Running, T0 Operations, T1 Operations, DataOps, ProdAgent
#Options Report = General, Fix, Info, Job Report, Problem, Shift Summary, Test, Flummoxed
Options Report = General, Fix, Info, Job_Report, Problem, Shift_Summary, Test, Flummoxed
Thread display = $Subject, entered by $author for $system on $Entry time
Quick filter = Date, Report
Reverse sort = 1

and the Email Notification:

; email notification
Suppress Email to users = 0
Omit Email To = 1
Use Email Subject = $system: $subject
#Use Email From = Author Email
Email Report General = hn-cms-dataopslog@cern.ch, cms-dataops@fnal.gov
Email Report Fix = hn-cms-dataopslog@cern.ch, cms-dataops@fnal.gov
Email Report Info = hn-cms-dataopslog@cern.ch, cms-dataops@fnal.gov
#Email Report Job Report = hn-cms-dataopslog@cern.ch, cms-dataops@fnal.gov
Email Report Job_Report = hn-cms-dataopslog@cern.ch, cms-dataops@fnal.gov
Email Report Problem = hn-cms-dataopslog@cern.ch, cms-dataops@fnal.gov
#Email Report Shift Summary = hn-cms-dataopslog@cern.ch, cms-dataops@fnal.gov
Email Report Shift_Summary = hn-cms-dataopslog@cern.ch, cms-dataops@fnal.gov


I finally realized that logbook entries sent with a two-word Attribute value
(Shift Summary, Job Report) would not be forwarded to the CMS HyperNews
forum or Fermilab List Server. I incorrectly assumed that:

Email <attribute> <value> = <list>

an attribute could be a string.

Do I have to remove the spaces (replace with hyphens or underscores)?

Alan
  65636   Fri Oct 26 11:18:59 2007 Reply Stefan Rittstefan.ritt@psi.chRequestLinux2.6.5-1844Re: Email Notification: Clarification on Attribute - can value be a string?
If you read

http://midas.psi.ch/elog/config.html#email

you will see the sentence:


If either the attribute or the value contains one or more blanks the string must be enclosed with quotation marks, as in:

* Email Type "Normal routine" = ...


so in your case you should write
Email Report "Shift Summary" = ...
  65637   Fri Oct 26 11:44:36 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux2.6.5-1844Re: Email notification: "Use Email From = " always set to admin

Alan Stone wrote:

My current syntax is:

; Email notification
Suppress Email to users = 0
Omit Email To = 1
Use Email Subject = $system: $subject
#Use Email From = Author Email
Email Report General = hn-cms-dataopslog@cern.ch, cms-dataops@fnal.gov


I had to comment out the 'Use Email From' option because all forwarded
entries to the CMS HyperNews or Fermilab ListServer appeared to originate
from me (alstone@fnal.gov), even though other users were logged in and
saving the entries to the logbook. After commenting out this line, the
entries were properly credited when forwarded, although the

There are two admins defined in the [global] section, and "alstone" is
not the first name in the "Admin user" list.

Is this a bug, or have I used this option incorrectly?
Alan


Documentation says:

If Use Email From is present, it is always used. If not, the email address of the currently logged in user is used for the "From:" field. If no user is logged in, or the current user has not specified a email address in the password database, the setting of the option Default Email From is used for the "From:" field. Only if this option is not specified, a generic address ELOG@<hostname> is used, which might be rejected by the SMTP server however.

So if you write
Use Email From = me@some.where

then of course all emails have "me@some.where" in the From: field. If you want the email of the people logged in, you either remove this option (since it's the default anyhow), or you write explicitly
Use Email From = $user_email
  2219   Thu Apr 26 22:26:04 2007 Question George Chisholmgeorge.chisholm@terasengas.comQuestionWindows2.6.5 1844Sorting by column title problem
Hi,

I am implementing ELOG for our Gas Control Centre.
Log entries sort ok when I click the ID or Date column title but not my custom attributes column headers???
Any suggestions?
Where do we send donations?

Best Regards and thanks for writing this very useful app.

George
  2220   Fri Apr 27 08:23:04 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.6.5 1844Re: Sorting by column title problem

George Chisholm wrote:
I am implementing ELOG for our Gas Control Centre.
Log entries sort ok when I click the ID or Date column title but not my custom attributes column headers???
Any suggestions?


Indeed that was a bug, thanks for reporting it. I fixed it in the intermediate release which you can download at

http://midas.psi.ch/elog/download/windows/elog265-2.exe


George Chisholm wrote:
Where do we send donations?


I have a PayPal account associated with my email address.

- Stefan
  2212   Wed Apr 25 10:29:40 2007 Cool An Thaithaithan@gmx.deInfoWindows2.6.5WYSIWYG (What you see is what you get)
Dear all,

I use the freemail from provider Web.de and find that its web-email editor ist very nice.
All formated text will be displayed in the right way, WYSIWYG.

Has sombody an idea, how to improve the Elog like this?

Best regards
Attachment 1: Email_editing_page_by_Web.de.PNG
Email_editing_page_by_Web.de.PNG
  2213   Wed Apr 25 10:44:29 2007 Reply Stefan Rittstefan.ritt@psi.chInfoWindows2.6.5Re: WYSIWYG (What you see is what you get)

An Thai wrote:
Dear all,

I use the freemail from provider Web.de and find that its web-email editor ist very nice.
All formated text will be displayed in the right way, WYSIWYG.

Has sombody an idea, how to improve the Elog like this?

Best regards


Well, all this is possible with ELCode tags, as you can see below. The advantage is that you can enter these tags with any browser, even with a text based browser. Have you tried to use the web.de page with a non-IE browser like Firefox? It doesn't work! They use very special JavaScript and AJAX with locks you to IE. And this is not the philosophy of ELOG. You should be able to do everything, even if JavaScript is switched off.

Dear BIG RED Smile,

Here is the bulleting:

  • First line
  • Second line
  • third line
Line numbering with under line:

  1. First line
  2. Second line
  3. Third line

Centered text
  2214   Wed Apr 25 19:39:57 2007 Reply Steve Jonessteve.jones@freescale.comInfoWindows2.6.5Re: WYSIWYG (What you see is what you get)

Stefan Ritt wrote:

An Thai wrote:
Dear all,

I use the freemail from provider Web.de and find that its web-email editor ist very nice.
All formated text will be displayed in the right way, WYSIWYG.

Has sombody an idea, how to improve the Elog like this?

Best regards


Well, all this is possible with ELCode tags, as you can see below. The advantage is that you can enter these tags with any browser, even with a text based browser. Have you tried to use the web.de page with a non-IE browser like Firefox? It doesn't work! They use very special JavaScript and AJAX with locks you to IE. And this is not the philosophy of ELOG. You should be able to do everything, even if JavaScript is switched off.

Dear BIG RED Smile,

Here is the bulleting:

  • First line
  • Second line
  • third line
Line numbering with under line:

  1. First line
  2. Second line
  3. Third line

Centered text



Quote:

AMEN!!!
ELOG V3.1.5-3fb85fa6