Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 246 of 808  Not logged in ELOG logo
icon5.gif   Slow performance, posted by Alan Grant on Tue Jun 28 18:53:50 2022 
We're up to 30 logbooks, 3.2GB data total and Elog damen has now become slow. Performance stats show 100%CPU on startup then reduces. Searches and
general UI activity is slow. It runs on a VM with 4GB memory allocated. Up to 15 concurrent users.

Trimming and archiving some data files may help but I gather overall this is underpowered hardware in this instance so what is recommended
    icon2.gif   Re: Slow performance, posted by Andreas Luedeke on Sat Jul 2 14:39:41 2022 
We have 68 logbooks and currently 60 GB data total. We run it as well on a VM, in our case with 8GB RAM.
The speed of ELOG is mostly given by the filesystem: when we had AFS it was very slow. With NFS it was better. But we now use a local disk
on the VM: that is much better.
    icon4.gif   Re: If a Required Attribute starts with a number – No CKEditor, posted by Andreas Luedeke on Fri Dec 11 14:30:10 2015 
Hi David,

I can confirm a bug: changing the encoding does not work if you have a required attribute starting with a digit. The following
minimal config reproduces the bug:

[global]

Default
encoding = 1
Entry   Hilight code, posted by Daniel Sajdyk on Tue Sep 6 13:29:03 2016 
Hello :)

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

Best Regards
icon5.gif   Highlight code?, posted by Daniel Sajdyk on Tue Sep 6 13:35:05 2016 
Hello :)

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

Best Regards
    icon2.gif   Re: Highlight code?, posted by Stefan Ritt on Tue Sep 6 13:41:32 2016 
You can manually highlight code,
but there is no automatic language parser.




Daniel
    icon2.gif   Re: Highlight code?, posted by Daniel Sajdyk on Tue Sep 6 13:45:55 2016 
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:
    icon2.gif   Re: Highlight code?, posted by Stefan Ritt on Tue Sep 6 14:02:56 2016 
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");
ELOG V3.1.5-3fb85fa6