Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 523 of 808  Not logged in ELOG logo
ID Date Icon Author Author Email Categorydown OS ELOG Version Subject
  1433   Sun Oct 9 20:18:23 2005 Entry Exaos LeeExaos.Lee@gmail.comOtherAll2.6.0beta5The Chinese Language,Demo Configuration and Help Files
Hi, Stefan,
The days from Oct.1~7 are our Nation Day's vacation, so I delayed the translation to Chinese. I just finished these files today:

  1. eloglang.zh_CN-GB2312 : This is for simplified Chinese using GB2312 encoding.
  2. eloglang.zh_CN-UTF-8 : This is for simplified Chinese using UTF-8 encoding.
  3. eloghelp.zh-CN.html : Help file for elog in simplified Chinese.
  4. elcode_zh-CN.html : The help file for ELCode in simplified Chinese.
  5. elogd-zh_CN-GB2312.cfg : Demo configuration file for simplified Chinese with GB2312 encoding.
  6. elogd-zh_CN-UTF-8.cfg : Demo configuration file for simplified Chinese with UTF-8 encoding.

I have to provide the language files in different encodings because the elogd cannot creat new logbook file named in Chinese with GB2312 encoding under MacOS X. The default charset under MacOS X is UTF-16, and elogd works with UTF-8 while processing Chinese contents and logbooks named in Chinese.

I want to make elogd display the date in Chinese format. Please tell me howto.
Thanks.
Attachment 1: chinese_trans.tar.gz
  1439   Mon Oct 10 12:53:46 2005 Reply Stefan Rittstefan.ritt@psi.chOtherAll2.6.0beta5Re: The Chinese Language,Demo Configuration and Help Files

Exaos Lee wrote:
I want to make elogd display the date in Chinese format. Please tell me howto.


Thank you for the files.

If you specify

Language = zh_CN

Then elogd looks for a file "eloglang.zh_CN" for the translation, for a file "eloghelp_zh.html"
for the help, and does a

setlocale("zh_CN");

to switch to Chinese date format. To retrieve the date, elogd calls strftime("%x");
  1552   Thu Dec 15 15:33:04 2005 Question Alex Halex@synergie-inf.comOtherWindows2.6.0Bad date format.
Hi Stefan,

I have two loogbook who are using the Type Derniere image = Date parameter, but I obtain a big
number instead of a formated date.

On my logbook "liste" (Look on the first attachement elog.gif please to watch the problem.)
I obtain this problem.
Here is the part of the elogd.cfg file for logbook "Liste" :
[Liste]
Theme = Bubble
Comment = Liste des routeurs / firewall clients
Type Derničre image = Date
List display = Client, Nom machine, Type, Equipment, Emplacement, Nom_admin, Pwd_admin, Maint, Derniere image
Link display = Client, Nom machine, Type, Equipment, Emplacement, Maint, Derniere image
Attributes = Client, Nom machine, Equipment, Type, Emplacement, Nom_admin, Pwd_admin, Maint, Derniere image
Extendable options = Client, Equipment
Options Type = FWL1{1}, FWL2{2}, FWL4{3}, VPN1{4}, VPN2{5}, CLIVPN-PROC{6}
{1} Preset text = FWL1.txt
{2} Preset text = FWL2.txt
{3} Preset text = FWL4.txt
{4} Preset text = VPN1.txt
{5} Preset text = VPN2.txt
{6} Preset text =
Preset Author = $short_name
Options Maint = Oui, Non
Required Attributes = Client, Type, Equipment, Nom machine, Maint
Locked Attributes = Author
Page Title = ELOG - $Nom machine
Reverse sort = 0
Quick filter = Client, Type, Maint
Summary lines = 2
Entries per Page = 50
Case sensitive search = 1



On my logbook "Image Routeurs" (Look on the second attachement elog2.gif)
No Problem
Here is the part of the elogd.cfg file for logbook "Liste" :
[Image Routeurs]
Theme = Bubble
Comment = Image Routeurs
Type Derniere Image = Date
Attributes = Equipment ,Client, Derniere Image
List display = Equipment ,Client,Derniere Image
Preset Author = $short_name
Locked Attributes = Author
Page Title = ELOG - $Equipment
Sort Attributes = Equipment
Reverse sort = 0
Quick filter = Equipment, Client
Reverse sort = 1
Sort Attributes = Equipment
Summary lines = 1
Display mode = Summary



What is wrong with my configuration ?
Thanks for answer.
Attachment 1: elog.gif
elog.gif
Attachment 2: elog2.gif
elog2.gif
  1553   Thu Dec 15 17:33:39 2005 Reply Stefan Rittstefan.ritt@psi.chOtherWindows2.6.0Re: Bad date format.

Alex H wrote:


[Liste]
Type Derničre image = Date

[Image Routeurs]
Type Derniere Image = Date



Maybe your additional accent. The attribute list contains Derniere Image, but in your first logbook you say Type Derničre image with accent grave, so this are not the same words.
  1554   Mon Dec 19 09:41:08 2005 Agree Alex Halex@synergie-inf.comOtherWindows2.6.0Re: Bad date format.

Stefan Ritt wrote:

Alex H wrote:


[Liste]
Type Derničre image = Date

[Image Routeurs]
Type Derniere Image = Date



Maybe your additional accent. The attribute list contains Derniere Image, but in your first logbook you say Type Derničre image with accent grave, so this are not the same words.


It's work now !
Thanks Smile!
  65751   Thu Feb 21 12:50:53 2008 Entry stephanestephane.brisson@synchrotron-soleil.frOtherLinux2.7.2.2041elog hand on destination mirror server

Hello,

When I start elogd on the mirror destination server, until cron job started, I can access to the website normaly. Once cron job started, I can't access to the website of the elog mirror destination server.

How can I solve this problem ?

Kind regards

 

Stéphane 

  66248   Thu Mar 12 08:03:07 2009 Warning Andraž 'ruskie' Levstikruskie-elog@codemages.netOtherLinux2.7.5-4Odd behaviour with gecko based browsers and reverse proxy.
I have a really odd issue with elog...

My setup:

elogd.cfg:
[global]
port = 2109
SMTP host = localhost
Resource dir = /usr/share/elog
Logbook dir = /srv/www/elog
charset = UTF-8
Main Tab = main
URL = https://elog.codemages.net
Relative redirection = 1
Usr = www
Grp = www
Resolve host names = 0
Self register = 0 
Admin user = ruskie
SSL = 0
Login expiration = 20

[links]
Subdir = links
Theme = default
Comment = Link spam
Attributes = Author, Category, Link, Comment
Options Category = General, Law, IT, Odds, Linux
Required Attributes = Link, Comment
Page Title = ELOG - Link spam
Reverse sort = 1
Quick filter = Date, Category
Time format = %Y-%m-%dT%H:%M
Date format = %Y-%m-%d
Password file = links.pwd
Admin user = ruskie
RSS Title = $logbook $entry time :$Author :$Link :$Comment

[notes]
Subdir = notes
Theme = default
Comment = Various notes
Attributes = Category, Comment
Options Category = General, Law, IT, Odds, Linux
Required Attributes = Comment
Page Title = ELOG - Various notes
Reverse sort = 1
Quick filter = Date, Category
Time format = %Y-%m-%dT%H:%M
Date format = %Y-%m-%d
Password file = notes.pwd
Admin user = ruskie
RSS Title = $logbook $entry time :$Comment


lighttpd.conf:
$HTTP["host"] =~ "elog.*" {
  proxy.server = ( "" =>
                   ( "10.0.0.10" =>
                     (
                       "host" => "10.0.0.10",
                       "port" => 2109
                     )
                   )
                 )

}

If I access elog directly on 2109 I get no issues but when I use this configuration it takes minutes to access
any elog page at all. But the odd thing is this only happens when I'm using a gecko based browser(firefox,
xulrunner based etc...) if I use webkit-gtk or elinks all the pages load up with no noticable delay.

I have tried this on different computers, different configurations and so on... And always the same behaviour
when it comes to a gecko based browser. Elinks and webkit-gtk load up fine.

Marking this as Other so far. If anyone knows anything about running elog and lighttpd togheter please speak up.
  66388   Wed Jun 10 13:56:09 2009 Disagree David PilgramDavid.Pilgram@epost.org.ukOtherLinux2.7.6-2211Move to: elog crashes with large no of entries being moved.
Hi Stefan,

I've been slowly moving threads, and twice now so far (and reproducably) had elog crash.

In each case, it is trying to move a thread with more than 24 entries; it copies the first 24 entries, then
crashes with "Segmentation Fault".  It does not erase the lock file /var/run/elog.pid

I have got around this by manually copying the entries beyond no 24, then deleting the thread entry by entry.

I am aware that I have an old and limited machine (586, 256MB RAM, running Slack 10), and at first I was
"content" to write it off as that; but when it crashed for the second time at exactly the same entry (the
twenty-forth) even though the size of the entries would have been significantly different, I wondered if there
was some factor within  elog that could affect this.

I've not tried it with Copy to:, but imagine it will also be affected as the only difference with this and Move
to: is the deletion of the thread after all the entries had been copied.
ELOG V3.1.5-3fb85fa6