Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 175 of 238  Not logged in ELOG logo
icon8.gif   $datetime display, posted by Fergus Lynch on Fri May 19 12:10:54 2006 
Apologies for being so dense but try as I might I cannot get the $datetime display to show only Day, Month , Year,hour and minutes, NOT seconds.

I dont nee the seconds display!

Could you please clarify the systax for me.

Many Thanks
Fergus
    icon2.gif   Re: Re: $datetime display, posted by Stefan Ritt on Fri May 19 12:19:38 2006 

Fergus Lynch wrote:
Apologies for being so dense but try as I might I cannot get the $datetime display to show only Day, Month , Year,hour and minutes, NOT seconds.

I dont nee the seconds display!

Could you please clarify the systax for me.


Can you show me the elogd.cfg syntax you try to use?
       icon2.gif   Re: Re: $datetime display, posted by Fergus Lynch on Fri May 19 14:01:34 2006 

Stefan Ritt wrote:

Fergus Lynch wrote:
Apologies for being so dense but try as I might I cannot get the $datetime display to show only Day, Month , Year,hour and minutes, NOT seconds.

I dont nee the seconds display!

Could you please clarify the systax for me.


Can you show me the elogd.cfg syntax you try to use?



Hi There!

See in bold below (I'm sure this is me being dense, so thanks for quick reply)

Fergus

Theme = default
Comment = Recording work carried out on any core system
Time format = %B %d, %Y, %H:%M
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type, Status
          icon2.gif   Re: Re: $datetime display, posted by Stefan Ritt on Sat May 20 09:48:52 2006 

Fergus Lynch wrote:

Stefan Ritt wrote:

Fergus Lynch wrote:
Apologies for being so dense but try as I might I cannot get the $datetime display to show only Day, Month , Year,hour and minutes, NOT seconds.

I dont nee the seconds display!

Could you please clarify the systax for me.


Can you show me the elogd.cfg syntax you try to use?



Hi There!

See in bold below (I'm sure this is me being dense, so thanks for quick reply)

Fergus

Theme = default
Comment = Recording work carried out on any core system
Time format = %B %d, %Y, %H:%M
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type, Status


What about

Time format = %B %d, %Y, %H:%M:%S
             icon2.gif   Re: Re: $datetime display, posted by Fergus Lynch on Mon May 22 10:37:36 2006 

Stefan Ritt wrote:

Fergus Lynch wrote:

Stefan Ritt wrote:

Fergus Lynch wrote:
Apologies for being so dense but try as I might I cannot get the $datetime display to show only Day, Month , Year,hour and minutes, NOT seconds.

I dont nee the seconds display!

Could you please clarify the systax for me.


Can you show me the elogd.cfg syntax you try to use?



Hi There!

See in bold below (I'm sure this is me being dense, so thanks for quick reply)

Fergus

Theme = default
Comment = Recording work carried out on any core system
Time format = %B %d, %Y, %H:%M
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type, Status


What about

Time format = %B %d, %Y, %H:%M:%S


Thanks, did the trick and working perfectly (I was being dense!)
icon1.gif   Linking two sets of logbooks, posted by Alan Stone on Wed May 17 23:39:23 2006 
I would like to link the CMSROC ELOG at Fermilab:
http://nippon.fnal.gov:8081/
with the CMS ELOG at CERN:
https://cmsdaq.cern.ch/elog/

I am the administrator of the former. I want to keep the CMSROC logbook content
local, but I would like to make a link to the CMS CERN logbook visible from
http://nippon.fnal.gov:8081/
and ideally to have it show up as a tab from any sub-page.

Thanks in advance for any help.
Alan
    icon2.gif   Re: Linking two sets of logbooks, posted by Stefan Ritt on Thu May 18 08:08:25 2006 

Alan Stone wrote:
I would like to link the CMSROC ELOG at Fermilab:
http://nippon.fnal.gov:8081/
with the CMS ELOG at CERN:
https://cmsdaq.cern.ch/elog/

I am the administrator of the former. I want to keep the CMSROC logbook content
local, but I would like to make a link to the CMS CERN logbook visible from
http://nippon.fnal.gov:8081/
and ideally to have it show up as a tab from any sub-page.


You can achieve that with the top text option, which lets you define some HTML code visible at every ELOG page. Just create a file, let's call it top.html, and put in following contents:
<table class="frame" cellpadding=0 cellspacing=0>
<tr><td class="tabs">
<span class="sltab"><a href="https://cmsdaq.cern.ch/elog/" title="CMS ELOG at CERN">CMSDAQ</a></span>
</td></tr>
</table>

Then put following statement into your elogd.cfg:
Top text = top.html

That should do the job.
icon5.gif   Email notification question, posted by Kevin McCarty on Wed May 10 16:14:00 2006 
Hello,

I've just set up an ELog server for my research group. (Running on Debian, package version 2.6.1+r1642-1)

I have a question about the email notifications. I read through the config file documentation, but couldn't find the answer (maybe I am just unobservant\?) Is it possible to have the email notifications contain only the title of the log entry (as well as the usual attributes), but not the full text or any attachments? I have users who are worried about their email going over quota from ELog's emails, but who nevertheless would like some kind of notification when new log entries are posted.

Thanks in advance!
    icon2.gif   Re: Email notification question, posted by Stefan Ritt on Wed May 10 16:16:33 2006 

Kevin McCarty wrote:
Hello,

I've just set up an ELog server for my research group. (Running on Debian, package version 2.6.1+r1642-1)

I have a question about the email notifications. I read through the config file documentation, but couldn't find the answer (maybe I am just unobservant\?) Is it possible to have the email notifications contain only the title of the log entry (as well as the usual attributes), but not the full text or any attachments? I have users who are worried about their email going over quota from ELog's emails, but who nevertheless would like some kind of notification when new log entries are posted.

Thanks in advance!


Have a look at the option Email format = <n>
       icon2.gif   Re: Email notification question, posted by Kevin McCarty on Wed May 10 16:55:28 2006 

Stefan Ritt wrote:

Kevin McCarty wrote:
Hello,

I've just set up an ELog server for my research group. (Running on Debian, package version 2.6.1+r1642-1)

I have a question about the email notifications. I read through the config file documentation, but couldn't find the answer (maybe I am just unobservant\?) Is it possible to have the email notifications contain only the title of the log entry (as well as the usual attributes), but not the full text or any attachments? I have users who are worried about their email going over quota from ELog's emails, but who nevertheless would like some kind of notification when new log entries are posted.

Thanks in advance!


Have a look at the option Email format = <n>


Ah, thank you! Somehow I overlooked that. My apologies, and thanks for your very fast response.
icon3.gif   Feature request - site-specific ELCode markup definitions, posted by Kevin McCarty on Wed May 10 16:30:45 2006 
Hi,

Here's a suggestion that you may or may not want to apply. It would be nice if there existed a config file (or a syntax in the existing elog.cfg file) that permitted sites to define their own ELCode patterns.

Let me give you a usage case. I thought it would be nice to have LaTeX expressions show up automatically on my group's ELog installation if they entered them like this: [math]x^2 + y^2 = r_0^2[/math] So in the source code file elogd.c, I hacked in the following additions to the definition of pattern_list[]:
   {"[math]", "<img src = \"http://borex.princeton.edu/mimetex?"},
   {"[/math]", "\" border = \"0\" align = \"absmiddle\" />"},
and recompiled ELog.

What this does is convert the LaTeX expression into a URL that uses the "mimetex" CGI program installed on my server to output a GIF file of the equation. So my users can have inline math expressions in their log entries, like this: . Obviously this is far too site-specific to be added to the official ELog code (unless you want to embed mimetex code into the server, which I kind of doubt Smile ). But it would be nice if I could specify these patterns in a config file without having to edit the source code and recompile each time I want to install a new ELog version!

Presumably others could find a use for site-specific ELCode markup too (logos, custom smilies, etc.)

Thanks for your time.
icon5.gif   Spec file change, posted by Stephen A. Wood on Mon May 8 18:23:17 2006 
Could the "Copyright:" line in the elog.spec file be changed to "License:" for the next release? Without this change an RPM can't be built on FC4 (RPM 4.4.1). With the change, rpms can still be built in Enterprise linux 3 (RPM 4.2.3).
    icon2.gif   Re: Spec file change, posted by Stefan Ritt on Tue May 9 08:07:00 2006 

Stephen A. Wood wrote:
Could the "Copyright:" line in the elog.spec file be changed to "License:" for the next release? Without this change an RPM can't be built on FC4 (RPM 4.4.1). With the change, rpms can still be built in Enterprise linux 3 (RPM 4.2.3).


Wow, the RPM build depends on that name? Interesting. I changed it in the SVN version, so it will be contained in the next release.
icon5.gif   Date automatically generated by another one, posted by Alex H on Thu May 4 17:26:41 2006 
Hi Stefan,
I am searching for a solution in order to have a date automatically generated by another one.

For example I want 1 month more :
I input the first date in "Date publication" : 01/01/2006 and the "Date validation" took automatically the 01/02/2006 value from themselve.

Can I do that with ELOG ?
Thanks for answer.
    icon2.gif   Re: Date automatically generated by another one, posted by Stefan Ritt on Fri May 5 07:58:53 2006 

Alex H wrote:
Hi Stefan,
I am searching for a solution in order to have a date automatically generated by another one.

For example I want 1 month more :
I input the first date in "Date publication" : 01/01/2006 and the "Date validation" took automatically the 01/02/2006 value from themselve.

Can I do that with ELOG ?
Thanks for answer.


No, this is not implemented right now.
       icon2.gif   Re: Date automatically generated by another one, posted by Alex H on Fri May 5 09:01:04 2006 

Stefan Ritt wrote:

Alex H wrote:
Hi Stefan,
I am searching for a solution in order to have a date automatically generated by another one.

For example I want 1 month more :
I input the first date in "Date publication" : 01/01/2006 and the "Date validation" took automatically the 01/02/2006 value from themselve.

Can I do that with ELOG ?
Thanks for answer.


No, this is not implemented right now.

OK! Thank for your response.
icon3.gif   allow per-logfile attributes to be added/subtracted from the global settings, posted by Mark Bergman on Wed May 3 00:16:42 2006 
I think it would be a big enhancement to allow per-logbook attributes to be additions or subtractions from the global attributes, rather than replacing the global settings.

For example, the [global] section of my elogd.cfg reads:

Attributes = Author, Type, Category, Severity, Subject, Entry ID, Status
Extendable Attributes = Type, Category, Severity, Subject, Status
Options Category = Hardware, Software (OS and utilities), Software (Application), Network, Security, Other
Options Severity = None, Low, Medium, High, Critical
Options Status = Open, Closed, In-Progress, Suspended
Options Type = To-Do, Problem Report, Problem Fixed, Informational Note, Software Installation, Configuration, Other
Required Attributes = Type, Category, Subject, Status

I've also got an logbook for each server for hardware issues. Within those logbooks, I'd like to keep all the fields except the software fields, and add fields for memory and storage.

Adding 7 definitions to each server logbook makes the config file huge and difficult to edit, and it means that a future change to the global settings wouldn't propagate to the individual log files. I'd really like to do something like:

[server47]
-Options Category = Software (OS and utilities), Software (Application)
+Options Category = Storage, Memory
-Options Type = Software Installation
+Options Type = RAM Installation, Drive upgrade

As I see it, the initial "-" sign in front of an attribute or option would indicate that the fields listed should be deleted from the global set (if the field name is an exact match), and a leading "+" indicates that the given fields would be added to the global attribute of the same name, for that specific logbook.

The current behavior--without a leading "+" or "-" would be unchanged, so that existing config files don't change.

Thanks,

Mark
    icon2.gif   Re: allow per-logfile attributes to be added/subtracted from the global settings, posted by Stefan Ritt on Wed May 3 08:28:05 2006 

Mark Bergman wrote:
I think it would be a big enhancement to allow per-logbook attributes to be additions or subtractions from the global attributes, rather than replacing the global settings.


Sounds to me like a good idea. I will put it on the wishlist.
icon5.gif   Any way to move Replies from one logentry to another?, posted by Steve Jones on Fri Apr 14 16:30:56 2006 
Is there anyway to reattach a reply within a logbook from one logentry to another? I guess it would be "re-associate"?
    icon2.gif   Re: Any way to move Replies from one logentry to another?, posted by Stefan Ritt on Tue Apr 18 10:01:23 2006 

Steve Jones wrote:
Is there anyway to reattach a reply within a logbook from one logentry to another? I guess it would be "re-associate"?


No, this is not possible directly. You would have to make a new reply, and manually fill in the contents from the original reply. It is however possible by directly tampering the ELOG files, but that should be done only by experienced users.
       icon14.gif   Re: Any way to move Replies from one logentry to another?, posted by Steve Jones on Wed Apr 19 04:48:43 2006 

Stefan Ritt wrote:

Steve Jones wrote:
Is there anyway to reattach a reply within a logbook from one logentry to another? I guess it would be "re-associate"?


No, this is not possible directly. You would have to make a new reply, and manually fill in the contents from the original reply. It is however possible by directly tampering the ELOG files, but that should be done only by experienced users.


Kind of what I thought but needed to ask. I think I'll leave things as they are. Thanks!
ELOG V3.1.5-3fb85fa6