Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 367 of 808  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icon Author Author Email Category OSdown ELOG Version Subject
  1095   Fri Apr 15 22:26:06 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux2.5.8-2Re: logbook clone
> When I create a new logbook (I used an existing one as a template) elog  
> does not works anymore...  

Fixed in CVS.
  1098   Mon Apr 18 17:02:20 2005 Question Stephen A. Woodsaw@jlab.org Linux2.5.8-3Directories in top groups
I am trying to unify several existing logbook collections that run on
seperate servers under a single server using groups.  For a top group, under
"[global topgroupname]", I would like to redefine the resource directory or
the logbook directory so that everything except for the .cfg is at it
original location.  However, it seems like "Resource dir" and "Logbook dir"
can not be redefined in the global section for specific groups.  Is it
possible to redefine these directories for each top group, or is it feature
that could be added?

I could probably do what I want with soft-links, but redefining the resource
dir just seems to be right way to do this.  (For one thing, I would like
different favicons for each group.)
  1101   Mon Apr 18 21:57:19 2005 Reply Stefan Rittstefan.ritt@psi.ch Linux2.5.8-3Re: Directories in top groups
> I am trying to unify several existing logbook collections that run on
> seperate servers under a single server using groups.  For a top group, under
> "[global topgroupname]", I would like to redefine the resource directory or
> the logbook directory so that everything except for the .cfg is at it
> original location.  However, it seems like "Resource dir" and "Logbook dir"
> can not be redefined in the global section for specific groups.  Is it
> possible to redefine these directories for each top group, or is it feature
> that could be added?

Not easily. There is only a single logbook and resource directory inside elogd.
The reason is that these are constants which can be fixed during compile time.
The Debian package uses this extensively. So having multiple directories would
break that scheme.

> I could probably do what I want with soft-links, but redefining the resource
> dir just seems to be right way to do this.  (For one thing, I would like
> different favicons for each group.)

I'm afraid you have to use soft links. The favicons you can define however via
the theme, which is a per-logbook option, so it would work in the [global
topgroupname] section as well.
  1102   Tue Apr 19 22:43:10 2005 Question Stephen A. Woodsaw@jlab.orgQuestionLinux1.632More questions about groups
I am running 2.5.8-3 with the elogd.c 1.632.  I have attached the config
file that I am using.   I have a top group "src", with logbooks "SRC
Analysis" and "SRC Mail" in it.  These two logbooks share the same password
file.  If one logs into one, I would like them to be not have to login to
the other.  If I put the password file name under [global src], I get this
behaviour, but the logbook selection page does not show my graphic or the
locks by the logbook names (instead it has the Alt text "This logbook
requires authentication."  If I remove the password from [global src] and
put it in each logbook individually, then my logbook selection page looks
OK, but I have to log into each logbook seperately.

Stephen
Attachment 1: elogd.cfg
[global]

Top group yourfriend = Your Friend Logbook
Top group xxxxx = Xxxxx Experiments
Top group src = SRC Analysis, SRC Mail

Show top groups = 0
Logbook tabs = 1

SMTP host = mailthingy.jlab.org
Use Email from = adminguy@jlab.org
Admin user = adminguy

URL = http://webserver.jlab.org/elogs/

Logfile = elog.log
Logging level = 3

usr=cdaq
grp=c-cdaq

[global xxxxx]
Logbook tabs = 0
;Main Tab = Welcome Page
Welcome Title = <p><p> <img src="hallc.gif" > <p><font size=3 color=white><b>Welcome to the E02-109/E04-001 analysis logbook. </b><p></font>
Restrict Edit = 1
URL = http://webserver.jlab.org/elogs/
Prepend on edit = Edited: $date \n \n
Theme = hallc
Admin user = christy

[Xxxxx Experiments]
Comment = Elog for E02-109/E04-001
Attributes = Author, Type, Category, Subject
Options Type = Calibrations, Efficiencies, Run Info, Other Corrections, Elastics, Cross Sections, MonteCarlo, General
Extendable Options = Category
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type

[global yourfriend]
Logbook tabs = 0
SMTP host = mailthingy.jlab.org
;Main Tab = Welcome Page
Restrict Edit = 1
URL = http://webserver.jlab.org/elogs/
Prepend on edit = Edited: $date \n \n
Theme = hallc
Admin user = yourfriend

[Your Friend Logbook]
Theme = hallc
password file = elogpw_GRS
Self register = 3
Login user = yourfriend
Comment = Elog for Your Friend
Attributes = Type, Category, Subject
Options Type = Calibrations, Efficiencies, Run Info, Other Corrections, Elastics, Cross Sections, MonteCarlo, General
Extendable Options = Category
Required Attributes = Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type

[global src]
Welcome Title = <p><p> <img src="bigbite.gif" > <p><font size=3 color=white><b>Welcome to the E01-015 analysis logbook. </b><p></font>
Theme = src
Password file = elogpw_SRC
Self register = 3

[SRC Analysis]
Prepend on edit = Edited: $date \n \n
;Password file = elogpw_SRC
;Self register = 3

Comment = Elog for E01-015
Attributes = Author, Detector, Subject
Options Detector = HRS, BigBite, Neutron Bars
Required Attributes = Author
Page Title = ELOG - $subject
Reverse sort = 1
Admin user = adminguy

[SRC Mail]
;Password file = elogpw_SRC
;Self register = 3

Comment = Archive of SRC Mailing list
Attributes = Subject, From
Required attributes = Subject, From
Quick filter = Date, From
Menu commands =  Find ,Login, Logout, Help, Delete
Allow Delete = adminguy


  1103   Thu Apr 21 22:54:46 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux1.632Re: More questions about groups
> I am running 2.5.8-3 with the elogd.c 1.632.  I have attached the config
> file that I am using.   I have a top group "src", with logbooks "SRC
> Analysis" and "SRC Mail" in it.  These two logbooks share the same password
> file.  If one logs into one, I would like them to be not have to login to
> the other.  If I put the password file name under [global src], I get this
> behaviour, but the logbook selection page does not show my graphic or the
> locks by the logbook names (instead it has the Alt text "This logbook
> requires authentication."

Thanks for reporting this bug. I fixed it in the current CVS version.
  1104   Fri Apr 22 18:16:25 2005 Reply Stephen A. Woodsaw@jlab.orgQuestionLinux1.632Re: More questions about groups
> Thanks for reporting this bug. I fixed it in the current CVS version.
I get my Icons and Graphics in the top group now.  Thanks for fixing it.
  1113   Mon May 2 12:29:11 2005 Warning Emiliano GabrielliAlberT@SuperAlberT.itBug reportLinux2.5.8-6rss feed title & conditional attributes
When I define 2 attributes, by default and the second one has to be showed
depending on the first one value the elog correctly handle the thing, but
the rss feed shows an empty comma separeted field corresponding to the
conditional attribute not filled ...
  1117   Mon May 2 13:27:16 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux2.5.8-6Re: rss feed title & conditional attributes
> When I define 2 attributes, by default and the second one has to be showed
> depending on the first one value the elog correctly handle the thing, but
> the rss feed shows an empty comma separeted field corresponding to the
> conditional attribute not filled ...

Can you send me the part of your config files with those things so that I can
reproduce it?
ELOG V3.1.5-3fb85fa6