Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 791 of 796  Not logged in ELOG logo
ID Date Icon Author Author Emaildown Category OS ELOG Version Subject
  68324   Fri Jun 3 08:16:31 2016 Question Christian Ludwig@Bug reportLinuxELOG V3.0.0-21delogd dies upon search

Hi all,

ELOG V3.0.0-21dc563

Our elogd dies alwways when searching for full text:

elogd: src/elogd.c:465: xrealloc: Assertion `*((unsigned int *) (temp + old_size)) == 0xdeadc0de' failed.
elogd: src/elogd.c:465: xrealloc: Assertion `*((unsigned int *) (temp + old_size)) == 0xdeadc0de' failed.

The only change we did was adding/editing entries.

 

Does anyone else encounter the same issue ?

I did not find any hint in release notes that this issue would be fixed in a later version

 

Please don't get me wrong, I am not complaining. Elog does a great job for us since years.

 

Christian

  67171   Wed Jan 25 15:40:17 2012 Reply Yoshio Imai$user_emailCommentLinux2.9.0Re: problems with https in Chrome and IE
Might this be related to the problem reported by Allen?
  67179   Mon Jan 30 18:23:39 2012 Reply Yoshio Imai$user_emailQuestionWindows2.9.0Re: Return Code

It depends on how you actually call the elog client, but it outputs a message

 Message successfully transmitted, ID=(new message id)

to the console upon successful transmission. Maybe you can catch this and evaluate?

  67269   Thu May 10 15:34:39 2012 Reply Yoshio Imai$user_emailQuestionLinux2.9.0Re: HW Requirements to run elog / Performance issues running on ARM

Hi!

Looking at your config file it seems that a lot of the attributes are not user-specified but rather auto-generated content. You may want to consider using the elog client to submit such entries; this might avoid performance issues related to communication of the server with the web browser used for entry generation. This way, event entries can even be automatically created by other software rather than having a user to submit them.

Yoshio

  67427   Mon Jan 14 13:33:19 2013 Reply Yoshio Imai$user_emailQuestionWindows2.7.8Re: Dual Time display and entry times
Depending on whether I understand your requirement correctly, the following solution should work:
  • define an additional logbook attribute, say "UTC Date"
  • preset it on entry creation and submission with the UTC timestamp (cf. section "Attributes" of the ELog configuration guide):
    Preset UTC Date = $utcdate
    Subst UTC Date = $utcdate
  • prevent the attribute from being changed manually by adding it to the
    Locked Attributes = < ... >
    and
    Fixed Attributes Edit = < ... >
    lists, respectively.
    You may also have to add it to the
    Remove on reply = < ... >
    list if replies turn out to keep the "UTC Date" value of the original entry.

Regards,
  67720   Sat Nov 22 16:05:34 2014 Reply Yoshio Imai$user_emailInfoWindows2.8Re: 5.5.4 cannot decode AUTH parameter

harish amin wrote:
Dear Stefen,
Please help me & reply on my request. Is my global config correct?


I am afraid you misunderstood Stefan. The lines he suggested to you are not something to put into your config file, but something you have to type on the command prompt in order to communicate directly with the mail server (i.e. completely independent from elog). You may have to ensure that the necessary communication program is installed on your computer.

Regards

Yoshio
  68424   Mon Sep 12 18:44:09 2016 Cool Chris Smyth chris.smyth@comcast.netQuestionWindowsELOG V2.7.8-229Body Width
How do I make this section Wider or Shorter in the 2.7.8 version?
Maybe I did something to make it shorter? ELCode shows as a full box but plain txt is very short box. 
  68417   Tue Sep 6 14:51:19 2016 Reply Daniel Sajdyk like daniel.sajdyk@gmail.comQuestionWindows3.1.1-3f311c5Re: Highlight code?

Looks like it works :)

Code need to be put in tags:

<pre><code class="sql">...</code></pre>

but it works.

Thank you :D

 

Best Regards

Daniel Sajdyk

Stefan Ritt wrote:

I did not know about highlight.js . You can put it into any elog page with "Bottom text = ...". I tried it for this forum and put in some C code:

#include <stdio.h>
int main()
{
   // printf() displays the string inside quotation
   printf("C Programming");
   return 0;
}

Seems like this works nicely. Thanks for that hint.

 

Daniel Sajdyk wrote:

I thought so.

One  more question :) I want manually add that parser (https://highlightjs.org), but I'm newby in that and don't know where ....

I know that downloaded hightlight pack I must put into folder scripts, but where to add this line:

<script>hljs.initHighlightingOnLoad();</script>

 

Stefan Ritt wrote:

You can manually highlight code, but there is no automatic language parser.

Daniel Sajdyk wrote:

Hello :)

Is there any way to highlight code (for example php, SQL) in elogs entries?

Best Regards

Daniel Sajdyk

 

 

 

 

ELOG V3.1.5-2eba886