Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 402 of 808  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  2192   Wed Apr 4 12:14:12 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux2.6.4-1826Re: Multiple ideas for multiple logbooks

Yoshio Imai wrote:
- We have one logbook top group for the beamtimes. Under certain conditions, a preset text is to be displayed.
{2&a} Preset Text = resource/text_1.txt
{2&b} Preset Text = resource/text_2.txt
However, the definitions of these conditions have to be repeated for every logbook in the group (putting it only under [global beamtimes] doesn't do it), otherwise they are ignored.

Any idea on these?


I tried to reproduce with this code:
[global]
port = 8080
password file = passwd
SMTP host = mail.psi.ch

{1}Preset text = Routine
{2}Preset text = Other

[demo]
Attributes = Author, Type
Options Type = Routine{1}, Other{2}

but it worked fine. Maybe some other problem?
  2193   Wed Apr 4 14:20:41 2007 Reply Yoshio ImaiBug reportLinux2.6.4-1826Re: Multiple ideas for multiple logbooks

Stefan Ritt wrote:
Maybe some other problem?

Possible, but I think it worked also on our server until the number of logbooks in the top group got larger than one. Can you try to see if your code still works when there is more than one logbook defined?
  2194   Thu Apr 5 10:01:06 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux2.6.4-1826Re: Multiple ideas for multiple logbooks

Yoshio Imai wrote:

Possible, but I think it worked also on our server until the number of logbooks in the top group got larger than one. Can you try to see if your code still works when there is more than one logbook defined?


I tried with following config file:
[global]
port = 8080
password file = passwd

{1}Preset text = Routine
{2}Preset text = Other

[demo]
Attributes = Author, Type
Options Type = Routine{1}, Other{2}

[demo2]
Attributes = Author, Type
Options Type = Routine{1}, Other{2}

and it worked fine as well. So take you (big) config file, strip one item by one, until you arrive at the simple config file above and tell me the minimal config file which produces this problem.
  124   Tue Sep 10 17:09:59 2002 Reply Stefan Rittstefan.ritt@psi.ch   Re: Multiple eLogs
> I have two different groups who want elogs for all of their members. How do
> I set elog up so group 1 uses port 8082 and group 2 uses 8083 (and they
> don't see each other's messages in the initial "menu" screen.

You run two instances of the elogd daemon like:

elogd -p 8082 -c /usr/local/elog/elogd1.cfg
elogd -p 8083 -c /usr/local/elog/elogd2.cfg
  66981   Fri Jan 7 08:37:49 2011 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.8Re: Multiple Insances of eLog on the same machine

Behdad D wrote:

Hello,

Is it possible to run multiple instance of elog on the same windows box where each instance listens on a different port?

Thanks.

Behdad.

Sure. Just start with one subdirectory for each instance with a separate elogd.cfg file, where you specify a different port. Note however that there is also the concept of "top groups" (see documentation) which lets a single instance of elog look like several independent installations. 

  66982   Sun Jan 9 07:04:00 2011 Agree Behdad Dbehdad@inbox.comQuestionWindows2.8Re: Multiple Insances of eLog on the same machine

Stefan Ritt wrote:

Behdad D wrote:

Hello,

Is it possible to run multiple instance of elog on the same windows box where each instance listens on a different port?

Thanks.

Behdad.

Sure. Just start with one subdirectory for each instance with a separate elogd.cfg file, where you specify a different port. Note however that there is also the concept of "top groups" (see documentation) which lets a single instance of elog look like several independent installations. 

 

Great. Thanks Stefan. 

I also am already using the top groups. This is just to totally separate my work and home elog.....I have to admit I am really an elog addict. 

This elog and the idea behind it is absolutely  brilliant. Very useful, easy to maintain, migrate, configure, easy to use, versatile, etc...  Good on you all.

Cheers,

Behdad.

  66095   Wed Dec 3 15:55:52 2008 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows Re: Multi attribute email notification

 

mike cianci wrote:

What I would like to do is:

If attribute "A" and attribute  "B" - send email to person #1

If attribute "A" and attribute  "C" - send email to person #2

(I apologize if this in the documentation. I have looked at the "Email" section and have either missed it or don't understand it. Thank you for the help)

 

This is not implemented, you only can test on a single attribute. There might be a possibility with conditional attributes, but I have never tried this out.

  66096   Wed Dec 3 22:57:13 2008 Cool mike ciancimike2.cianci@comcast.netCommentWindows Re: Multi attribute email notification

Your suggestion worked GREAT (like always)


Stefan Ritt wrote:

 

mike cianci wrote:

What I would like to do is:

If attribute "A" and attribute  "B" - send email to person #1

If attribute "A" and attribute  "C" - send email to person #2

(I apologize if this in the documentation. I have looked at the "Email" section and have either missed it or don't understand it. Thank you for the help)

 

This is not implemented, you only can test on a single attribute. There might be a possibility with conditional attributes, but I have never tried this out.

 

ELOG V3.1.5-3fb85fa6