Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 622 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subject
  1556   Tue Dec 20 11:17:17 2005 Idea Stefan Rittstefan.ritt@psi.chInfo 2.6.0Howto insert screen dumps into an elog entry
With the new ELCode tags, one can insert screen dumps pretty easy into elog entries. I personally use HoverSnap 0.8 under Windows, there are similar tools under Linux. HoverSnap puts a "Capture.jpg" file in a selectable directoy when you press PrintScreen, then you can instert this file with the button. Here is such a screendump example:

  1555   Tue Dec 20 09:18:19 2005 Idea Stefan Rittstefan.ritt@psi.chInfo SVN 1579Shell substitution, especially interesting for running online experiments
Shell substitution has been introduced in an experimental state of the current SVN version of ELOG. It woks such that the subsititution list can contain $shell(<argument>) commands. The <argument> is passed to the shell of the operating system and the result is captured and subsituted. This is handy for online experiments, where one wants to pass information automatically to elog. Assume that there is a file /tmp/runnumber containing the current run number of the experiment. All one needs to put the current run number in an attribute "Run number" is the following line in the configuration file:

Preset Run number = $shell(cat /tmp/runnumber)

This subsitution works also for the main text body. Following option will put a calendar of the current month into the text body:

Preset text = $shell(cal)

note that shell subsitution works both on Windows and Unix, the "cat" and "cal" commands are however only present under Unix, but "cat" can be replaced with its Windows counterpart "type".
  1554   Mon Dec 19 09:41:08 2005 Agree Alex Halex@synergie-inf.comOtherWindows2.6.0Re: Bad date format.

Stefan Ritt wrote:

Alex H wrote:


[Liste]
Type Dernière image = Date

[Image Routeurs]
Type Derniere Image = Date



Maybe your additional accent. The attribute list contains Derniere Image, but in your first logbook you say Type Dernière image with accent grave, so this are not the same words.


It's work now !
Thanks Smile!
  1553   Thu Dec 15 17:33:39 2005 Reply Stefan Rittstefan.ritt@psi.chOtherWindows2.6.0Re: Bad date format.

Alex H wrote:


[Liste]
Type Dernière image = Date

[Image Routeurs]
Type Derniere Image = Date



Maybe your additional accent. The attribute list contains Derniere Image, but in your first logbook you say Type Dernière image with accent grave, so this are not the same words.
  1552   Thu Dec 15 15:33:04 2005 Question Alex Halex@synergie-inf.comOtherWindows2.6.0Bad date format.
Hi Stefan,

I have two loogbook who are using the Type Derniere image = Date parameter, but I obtain a big
number instead of a formated date.

On my logbook "liste" (Look on the first attachement elog.gif please to watch the problem.)
I obtain this problem.
Here is the part of the elogd.cfg file for logbook "Liste" :
[Liste]
Theme = Bubble
Comment = Liste des routeurs / firewall clients
Type Dernière image = Date
List display = Client, Nom machine, Type, Equipment, Emplacement, Nom_admin, Pwd_admin, Maint, Derniere image
Link display = Client, Nom machine, Type, Equipment, Emplacement, Maint, Derniere image
Attributes = Client, Nom machine, Equipment, Type, Emplacement, Nom_admin, Pwd_admin, Maint, Derniere image
Extendable options = Client, Equipment
Options Type = FWL1{1}, FWL2{2}, FWL4{3}, VPN1{4}, VPN2{5}, CLIVPN-PROC{6}
{1} Preset text = FWL1.txt
{2} Preset text = FWL2.txt
{3} Preset text = FWL4.txt
{4} Preset text = VPN1.txt
{5} Preset text = VPN2.txt
{6} Preset text =
Preset Author = $short_name
Options Maint = Oui, Non
Required Attributes = Client, Type, Equipment, Nom machine, Maint
Locked Attributes = Author
Page Title = ELOG - $Nom machine
Reverse sort = 0
Quick filter = Client, Type, Maint
Summary lines = 2
Entries per Page = 50
Case sensitive search = 1



On my logbook "Image Routeurs" (Look on the second attachement elog2.gif)
No Problem
Here is the part of the elogd.cfg file for logbook "Liste" :
[Image Routeurs]
Theme = Bubble
Comment = Image Routeurs
Type Derniere Image = Date
Attributes = Equipment ,Client, Derniere Image
List display = Equipment ,Client,Derniere Image
Preset Author = $short_name
Locked Attributes = Author
Page Title = ELOG - $Equipment
Sort Attributes = Equipment
Reverse sort = 0
Quick filter = Equipment, Client
Reverse sort = 1
Sort Attributes = Equipment
Summary lines = 1
Display mode = Summary



What is wrong with my configuration ?
Thanks for answer.
Attachment 1: elog.gif
elog.gif
Attachment 2: elog2.gif
elog2.gif
  1551   Thu Dec 15 13:08:35 2005 Idea Stefan Rittstefan.ritt@psi.chInfoAll2.6.0New ELOG version 2.6.0
Dear ELOG users,

I'm happy to announce the release of ELOG version 2.6.0. After a long period of beta testing, all functions are now sufficiently stable for a public release. The major new feature is the introduction of the ELCode tags. They are similar to the well known BBCode tags, and let you format an elog entry. It is now also possible to embed inline images in an elog entry , which are even sent in email notifications.

So have fun,

Stefan
  1550   Wed Dec 14 15:45:29 2005 Reply Yoshio ImaiRequestLinux2.6.0beta5Re: Logbook aliases

Stefan Ritt wrote:
If you click "List" on the single entry page, it takes you by default to the listing page.


I also think this is the best way to do it.

BTW, now that everyone here got used to the current elog look&feel, I think we no longer need the conditional hiding of attributes (don't hit me... Wink). I hope you didn't invest too much time in that already.

Thanks, and happy beamtime!

Yoshio
  1549   Wed Dec 14 11:48:37 2005 Reply Stefan Rittstefan.ritt@psi.chRequestLinux2.6.0beta5Re: Logbook aliases

Yoshio Imai wrote:
but maybe you can add this to the wishlist if others request the same...


Ok, I will do that.


Yoshio Imai wrote:
P.S. What do you think about the idea of a "Go to page"-button for the single entry view?


I plan to make it even better (when I get some time, we have beam time right now as well Crying ). If you click "List" on the single entry page, it takes you by default to the listing page. I guess that would be a feature of general interest. I just need some time to implement it...
ELOG V3.1.5-3fb85fa6