ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
65946
|
Fri Aug 8 14:27:03 2008 |
| Yoshio Imai | | Question | Linux | 2.7.4-2111 | Re: Using the command line tool to edit |
T. Ribbrock wrote: | NOTE: I found that this does not work if LOGBOOK has any spaces in it - I would get error messages where the logbook was not found. |
You might try to escape the space in the formelog -a 'Attribute1=value' -x -h localhost -l 'LOG\ BOOK' -p 8080 -u USER PASSWD
T. Ribbrock wrote: | What is the easiest way to retrieve an ID from the command line |
I don't know if this helps you (depends on how much the application that edits the entry communicates with the application the generates the entry), but the elog client should output something likeMessage successfully transmitted, ID=12345 which you could e.g. redirect into a file that the editing application then reads to determine the ID. |
65954
|
Mon Aug 18 14:08:22 2008 |
| Yoshio Imai | | Question | Linux | 2.7.4x | Re: Expand TEXT colum in Summary view? |
dale cooper wrote: | I am wondering if it is possible to configure ELOG to expand the TEXT column in the SUMMARY view? |
While it is not possible to specify a number of characters per row, you can control the number of text lines in the summary view using theSummary lines = NNN directive (cf. also the ELog admin guide). |
65973
|
Sat Sep 13 23:34:37 2008 |
| Eoin Butler | | Question | Linux | | Moving individual messages in a thread |
It is possible that the Move to... and Copy to... commands can be configured so that when they operate on a message that is part of a thread, that only that message will be moved, instead of the whole thread? |
66037
|
Mon Nov 10 13:05:21 2008 |
| Yoshio Imai | | Info | Linux | 2.7.5 | elog init script |
Notice that the following is not true when editing the config file outside of the administrator's "Config" page: reload)
# Do nothing since ELOG daemon responds to
# the changes in conffile directly.
;;
In our installation, the sysadmin has therefore added the following section for the reload) part of the init script: reload)
if [ -f $PIDFILE ]; then
echo -n "$DESC to reread config file ... "
kill -HUP `cat "$PIDFILE"`
echo "done"
else
echo "No $PIDFILE found!"
fi
;;
|
66319
|
Wed Apr 15 14:44:42 2009 |
| Yoshio Imai | | Question | Windows | 2.7.5 | Re: Multi Logook Login |
Hi, Stefan!
Stefan Ritt wrote: | If "password file = xxx" is however in each individual logbooks configuration, then you get "path=/<lobook>". You can check that by inspecting your browser's cookies. In that case the login name and password cookies are only sent to the URL for that specific logbook. I have not tested that extensively (different browsers, with/without Apache proxy), but if it works reliably, I will put this into the documentation. |
We had done so on your advice and in principle this works, but our experience has shown one problem:
We have separated our logbooks into different top groups because of the sheer number of them (i.e. experiment logbooks in one top group with logbook groups for the sub-categories, personal analysis logbooks in another top group etc.). Obviously, the experiment logbooks may share the same login, therefore we have put the "password file" statement into that top group's global section (otherwise, we would have to log on to every beamtime logbook individually, which can be cumbersome when comparing e.g. experiment settings between beamtimes). For the personal logbooks, of course, we use per-logbook-access (i.e. "password file" statement in the individual logbook sections) such that logging on to one's own logbook does not imply access to someone else's logbook. However, since the group/top group structure does not appear in the elog URLs, the cookies for the beamtime logbooks all have the path set to "path=/". This breaks the scheme again (I guess we have sort of "abused" the concept of top groups a little) and it is not possible to work in one of the experiment logbooks in parallel with one's own logbook without having to renew the login when switching the logbook.
Is it possible to modify the elogd such that it first checks if, among the cookies sent, there is one where the path corresponds to the path of the current logbook, and evaluate cookies with "path=/" only if no such cookie is found?
Yoshio |
66528
|
Fri Sep 4 13:59:19 2009 |
| Yoshio Imai | | Request | Linux | Windows | 2.7.2-2012 | Re: multiple keyword search - regular expression |
Maybe there is a simple way.
If I understand it correctly, the entries are accepted/rejected for inclusion in the search result list based on one call to regexec. In order to search for N keywords, you could replace this by a loop of N calls to regexec, and only accept the entry if all of them find a match. |
66703
|
Fri Feb 5 14:51:23 2010 |
| Yoshio Imai | | Question | Mac OSX | 2.7 | Re: insert screenshots directly to elog? |
Since elog is only the web server providing (comfortable) access to the logbook database, it relies on the web browser (possibly enhanced by script code) for facilities to attach pictures and other files to entries. So unless your browser has such an extension or someone writes some sort of script that can do it, the only way is to use an external capturing program, save the picture and upload it in the usual way. Cf. also entry 66004.
|
66714
|
Thu Feb 18 18:50:57 2010 |
| Yoshio Imai | | Question | All | 2280 | Re: Single Button Entry |
Geoff Ellis wrote: |
For our application we have a lot of very common events we would like to log. It would be preferable that for certain events/entries we could setup a single button / quick entry method. Is there away to accomplish this?
|
You could write a script/program that calls the ELOG client with the necessary attributes to submit the entry (see the user's guide). |