Re: New column on main page, posted by Dinkel Markus on Wed Mar 25 19:34:48 2009
|
Stefan Ritt wrote: |
Dinkel Markus wrote: |
Stefan Ritt wrote: |
Dinkel Markus wrote: |
Hi,
is it possible to create a new column on the main page? Between "Logbuch" and "Einträge" I need the new column for enter the IP from the servers.

Thanks for your help
Markus
|
You can use the "Comment = ..." option to add something below "Logbuch" like I did here:
|
Hi,
I use the "Comment=..." option to add the OS-Version. For a better overview it would be nice to add a new column for IP.
If this is not possible I use the "Comment...= option.
|
It is currently not possible to have a new column. But you can add some <br> tags inside your comment, then you IP will show up on a new line after the OS-Version.
|
This is Ok but in wich file can i add this tag? In the .cfg-file? |
Re: New column on main page, posted by Dinkel Markus on Thu Mar 26 17:09:47 2009
|
Stefan Ritt wrote: |
Dinkel Markus wrote: |
This is Ok but in wich file can i add this tag? In the .cfg-file?
|
Yes, this goes into the elogd.cfg file. Just add a line like:
[logbook]
Comment = OS-Version<br><i>192.160.0.1</i>
Then you will get something like this:

|
Thanks, this is great.
By, Markus |
How to attach screen shot in elog, posted by weiluo on Tue Dec 2 01:10:39 2008
|
I want to know if there were some way to insert a screen shot directly into the log book instead of going through the "save-attach" procedure. i.e. add some plug in button to do this under Linux?
Or, can I just make a plain log file "xxxx.log" and put it into the directory? Will that work?
Thanks |
Re: How to attach screen shot in elog, posted by weiluo on Tue Dec 2 17:10:05 2008
|
Stefan Ritt wrote: |
weiluo wrote: |
I want to know if there were some way to insert a screen shot directly into the log book instead of going through the "save-attach" procedure. i.e. add some plug in button to do this under Linux?
Or, can I just make a plain log file "xxxx.log" and put it into the directory? Will that work?
Thanks
|
You cannot directly paste a screen shot into an elog entry. Use HoverSnap (Windows) or ksnapshot (linux) to produce directly an image file, then you need only two mouse clicks (browse and select file). There is also an Add-On for FireFox called "dragdropupload" which can be used for drag-and-drop a file into the attachment file selector.
|
I see. But what I want to do now is writing a script to make a elog entry, is that possible? I mean, I don't know if the log entry I generated could be recognized by elog. e.g. the following text is generated by me, no through elog, is there a way to let them shown on elog?
Date: Mon, 01 Dec 2008 18:45:21 -0500
Author: Anonymous
Author Email: $user_email
Category: Shift summary
Subject: test
Attachment: 081201_184113_bigcal_014.jpg
Encoding: HTML
========================================
test
|
Re: How to attach screen shot in elog, posted by weiluo on Tue Dec 2 17:18:10 2008
|
Stefan Ritt wrote: |
weiluo wrote: |
Stefan Ritt wrote: |
weiluo wrote: |
I want to know if there were some way to insert a screen shot directly into the log book instead of going through the "save-attach" procedure. i.e. add some plug in button to do this under Linux?
Or, can I just make a plain log file "xxxx.log" and put it into the directory? Will that work?
Thanks
|
You cannot directly paste a screen shot into an elog entry. Use HoverSnap (Windows) or ksnapshot (linux) to produce directly an image file, then you need only two mouse clicks (browse and select file). There is also an Add-On for FireFox called "dragdropupload" which can be used for drag-and-drop a file into the attachment file selector.
|
I see. But what I want to do now is writing a script to make a elog entry, is that possible? I mean, I don't know if the log entry I generated could be recognized by elog. e.g. the following text is generated by me, no through elog, is there a way to let them shown on elog?
Date: Mon, 01 Dec 2008 18:45:21 -0500
Author: Anonymous
Author Email: $user_email
Category: Shift summary
Subject: test
Attachment: 081201_184113_bigcal_014.jpg
Encoding: HTML
========================================
test
|
For what you need you can use the "elog" utility, as described in https://midas.psi.ch/elog/userguide.html at the bottom. Using the "-f" option you can add attachments there.
|
Got it! This is exactly what I need, thanks a lot! |
attached picture size changed, posted by weiluo on Thu Jun 25 22:58:01 2009
|
Hello everyone.
Here I found a problem recently with attaching screen-shot to the elog.
I am using "elog -f xxx/xxx.gif" to make elog entry. Recently I found my attached pictures were scaled to the half of the original size horizontally appearing in the log entry, the other half of the picture was filled with black. I need to click it once to magnify the picture to see it.
Does anyone know how to solve this problem? It bugs me a lot.
By the way, I saw some pictures were produced with the name "xxx.gif.png" in the logbook directory.
Thanks, and one of the modified picture is attached.
|
Re: attached picture size changed, posted by weiluo on Fri Jun 26 17:04:23 2009
|
Stefan Ritt wrote: |
weiluo wrote: |
Hello everyone.
Here I found a problem recently with attaching screen-shot to the elog.
I am using "elog -f xxx/xxx.gif" to make elog entry. Recently I found my attached pictures were scaled to the half of the original size horizontally appearing in the log entry, the other half of the picture was filled with black. I need to click it once to magnify the picture to see it.
Does anyone know how to solve this problem? It bugs me a lot.
By the way, I saw some pictures were produced with the name "xxx.gif.png" in the logbook directory.
Thanks, and one of the modified picture is attached.
|
When you submit a picture, elogd calls the ImageMagick package to generate a thumbnail out of it, therefore you get the "xxx.gif.png" file (which represents the thumbnail). If you create your GIF images with the ROOT package, ImageMagick will give problems because ROOT does not use standard GIF encoding, therefor the black border on your pictures. You can turn off the thumbnail generation completely by specifying
Thumbnail size = 0
in the configuration file. This option was just introduced recently, so please update to SVN revision 2227 for this option to work. |
Thanks a lot for the detailed explanation! It works! |
using elog client in secure mode, posted by Luc Goossens on Mon May 19 16:02:23 2008
|
Hi,
I am trying to enter a log record in secure mode into a log book hosted on an apache server (v2.7.2).
After reading this forum I have recompiled the client using revision 2100 (well actually the head of svn).
But entering the record still does not work.
This is what I get
[atlt0dev@voatlas04]~% elog -v -s -h prod-grid-logger.cern.ch -p 443 -u myuser -w mypassword -d elog -l "ATLAS+Tier0+Operations+Logbook" -a Subject=foobar
Successfully connected to host prod-grid-logger.cern.ch, port 443
Request sent to host:
POST /elog/ATLAS%2BTier0%2BOperations%2BLogbook/ HTTP/1.0
Content-Type: multipart/form-data; boundary=---------------------------66AA3F62643F505F6F319FE6
Host: voatlas04.cern.ch
User-Agent: ELOG
Content-Length: 840
Content sent to host:
---------------------------66AA3F62643F505F6F319FE6
Content-Disposition: form-data; name="cmd"
Submit
---------------------------66AA3F62643F505F6F319FE6
Content-Disposition: form-data; name="unm"
myuser
---------------------------66AA3F62643F505F6F319FE6
Content-Disposition: form-data; name="upwd"
LXc=
---------------------------66AA3F62643F505F6F319FE6
Content-Disposition: form-data; name="exp"
ATLAS+Tier0+Operations+Logbook
---------------------------66AA3F62643F505F6F319FE6
Content-Disposition: form-data; name="encoding"
ELCode
---------------------------66AA3F62643F505F6F319FE6
Content-Disposition: form-data; name="Subject"
foobar
---------------------------66AA3F62643F505F6F319FE6
Content-Disposition: form-data; name="Text"
mypassword
---------------------------66AA3F62643F505F6F319FE6
Response received:
HTTP/1.1 302 Found
Date: Mon, 19 May 2008 13:33:29 GMT
Server: ELOG HTTP 2.7.2-2012
Location: https://prod-grid-logger.cern.ch/elog/ATLAS+Tier0+Operations+Logbook/?fail=1
Connection: close
Content-Type: text/plain; charset=UTF-8
<html>redir</html>
Error: Invalid user name or password
<<<<
the man pages seem to be out of sync and anyway mention two passwords to be usable, so they are not very helpful/clear
if somebody could tell me the right combination of options
and/or confirm/deny that this combination of client and server can work at all
I would be very grateful.
many thanks,
Luc
|