Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   change language, posted by svrmarty on Tue Mar 25 14:00:53 2008 
    icon2.gif   Re: change language, posted by Stefan Ritt on Thu Mar 27 07:52:00 2008 
       icon2.gif   Re: change language, posted by svrmarty on Thu Mar 27 09:23:25 2008 
          icon2.gif   Re: change language, posted by svrmarty on Thu Mar 27 09:30:03 2008 
Message ID: 65796     Entry time: Thu Mar 27 09:30:03 2008     In reply to: 65795
Icon: Reply  Author: svrmarty  Author Email: svrmarty@gmx.net 
Category: Question  OS: Linux  ELOG Version: 2.6.3+r17 
Subject: Re: change language 

svrmarty wrote:

Stefan Ritt wrote:

svrmarty wrote:

i've installed the debian package on my system

there's only one config file, /etc/elog.conf

i've tried to change the language, in [global] with Language = german,

then restarting the daemon,  but it doesn't work.

please help me, where can i change the default(all) language and which settings should i do.

I'm not maintainer of the Debian package, you should direct your question to Recai <roktas@omu.edu.tr> (in principle he should read this forum). If you start elogd manually with the strace command like:

strace -r -o tmp.log -e trace=open /usr/local/elog/elogd

and check in tmp.log from where elogd opens its elogd.cfg. Then change the appropriate elogd.cfg (NOT elog.conf). After you change it, you have to restart elogd.

in the trace is only one config file

     0.000103 open("/etc/elog.conf", O_RDONLY) = 3
     0.000047 open("/etc/elog.conf", O_RDONLY) = 3

 

there's a bug in the debian package

     0.000033 open("resources/eloglang.german", O_RDONLY) = -1 ENOENT (No such file or directory)
     0.000264 open("/usr/share/elog/resources/eloglang.german", O_RDONLY) = -1 ENOENT (No such file or directory)

it's searching for the files in the wrong directory.

i've solved it with

#/usr/share/elog$ ln -s . resources

 

ELOG V3.1.5-3fb85fa6