Missing log files when rsync to replacement server., posted by VUIIS SysAdmin on Thu Jul 30 17:11:05 2020
|
I am moving from a Hyper-V host to a VMware host and created a new elog server. I installed the elog software and did an rsync to get the .cfg file and
logbooks to the new server.
rsync -av root@old.elog.server:/usr/local/elog /usr/local/ |
Re: Missing log files when rsync to replacement server., posted by Stefan Ritt on Fri Jul 31 15:42:55 2020
|
Start your new server interactively with "elogd -v 3" to see all verbose output. You will then see how it indexes all logbooks. If not, you
might have a wrong path in elogd.cfg
VUIIS |
Re: Missing log files when rsync to replacement server., posted by VUIIS SysAdmin on Fri Jul 31 21:40:02 2020
|
On the new server in the logbook that should have several 2020 entries it stops on the last entry of 2019.
On the old server after stopping elogd i get:
/usr/sbin/elogd -v 3 |
Re: Missing log files when rsync to replacement server., posted by Stefan Ritt on Sat Aug 1 15:13:17 2020
|
You can put your files where ever you want, just tell elogd where to find the elogd.cfg file via the "-c" flag. Then tell elogd where to find files
in the elogd.cfg file via the "Logbook dir" and "Resource dir" directives.
Stefan |
Re: Missing log files when rsync to replacement server., posted by VUIIS SysAdmin on Sun Aug 2 02:57:59 2020
|
Thank-you. That is good information to have.
What is the default if you you do not specify anything in elogd.cfg? I assume it is /usr/local/elog otherwise it would not see the existing
logbooks. |
Re: Missing log files when rsync to replacement server., posted by Stefan Ritt on Sun Aug 2 09:06:46 2020
|
If nothing is specified elogd looks for logbooks in the current directory where it got started under ./logbooks/
No idea what happened to your 2020 logbook.
VUIIS |
Expanding column width when viewing in Summary mode, posted by Illam Pakkirisamy on Thu Jul 16 23:29:15 2020
|
Hi,
I'm trying to expand the Subject column, when viewing in summary mode, and couldn't find any documentation for it. Is this possible
and if so, how would I do it. |
Re: Expanding column width when viewing in Summary mode, posted by Stefan Ritt on Fri Jul 17 09:18:18 2020
|
You can't directly change individual columns, but you can reduce the "Text" column. This is done in themes/default/elog.css. Search for
"listtitle2" and change or remove the line "width:100%". This makes the text column narrower, leaving more space for the subject column.
Illam |
Re: Expanding column width when viewing in Summary mode, posted by Illam Pakkirisamy on Sat Jul 18 17:19:31 2020
|
Hi Stefan,
Thanks for your prompt follow up. I did try commenting of the width statement for listtitle2 and also reducing it to 40% but it did not
work. I restarted elogd daemon and I don't see the columns changing. I also tried putting a percentage number (40%) for listtitle1 just |
Re: Expanding column width when viewing in Summary mode, posted by David Pilgram on Sun Jul 19 13:14:36 2020
|
Anyone who knows me knows I (ab)use elog a lot. And this one is another of a long list of cheats and work arounds rather than modifying the
code properly.
In summary mode, the top row are titles, and if they are long, they will dominate the width of that column. Similarly if they are short, |
Re: Expanding column width when viewing in Summary mode, posted by Stefan Ritt on Mon Jul 20 08:37:17 2020
|
I can think of two reasons why you don't see a change:
1) You modified the wrong file. The elog.css file is under elog/themes/default/elog.css. If you "install" elog, it might go into your
installation directory. So check if you have more than one file with this name. |
Re: Expanding column width when viewing in Summary mode, posted by Illam Pakkirisamy on Thu Jul 23 21:19:24 2020
|
Hi Stefan,
I have only one elog.css file in the default directory and the installation path is the same one that I'm using. Basically, I'm using
off of the installed path. I also tried, modifying the file and calling it elog_mod.css and then specified CSS=<path>/elog_mod.css and started |
How to change name of record Id from $@MID@$., posted by John on Wed Jul 22 18:11:56 2020
|
Hi Everyone,
I tried using this $@MID@$ in JS as a variable and cannot doit. I researched a little and found no answer on special character usage. If anyone
knows, please lemme know. I also tried breifly in Elogd to change it to something like just MID, but need a better editor as (Kate) is not saving |
Re: How to change name of record Id from $@MID@$., posted by Stefan Ritt on Wed Jul 22 19:10:08 2020
|
No idea what you are talking about. $@MID@$ is used in the database files to indicate the start of a new message. It is not used on any elog web page.
If you want to put the message ID on your web page, you should use the variable "$message id" as written in the documentation. You say JS, where
is your JS running? You wrote a JS program to work on the raw elog database files? Or you wrote an extension to run in your browse? You have to be a bit |
Expanding column width when viewing in Summary mode, posted by Illam Pakkirisamy on Thu Jul 16 23:26:43 2020
|
Hi,
I'm trying to expand the Subject column, when viewing in summary mode, and couldn't find any documentation for it. Is this possible
and if so, how would I do it. |
bug in elog.spec, posted by Janusz Szuba on Mon Jul 6 19:09:48 2020
|
Hi,
in commit 1812e7c, specifying CFLAGS to make
command in elog.spec, renders all other settings in Makefile void. That is, if I want to include any of KRB5, LDAP, PAM support, and change makefile accordingly, |
Re: bug in elog.spec, posted by Laurent Jean-Rigaud on Mon Jul 6 20:19:21 2020 
|
Hi,
You rights, CFLAGS should not be in specfile to take care of distrib env.
Btw, I sent in the past an update for build process of Stefan delivery to generate src.rpm file copatible to tarball version. I think Stefan |
Re: bug in elog.spec, posted by Janusz Szuba on Tue Jul 7 11:22:45 2020
|
Thanks for the answer, I will try with your specfile
best
Janusz |
change Cell Style, posted by Lahreche Abdelmadjid on Tue Jun 30 11:39:12 2020
|
Hi All,
I hope to change the Cell Style backround color into background point.
because my color printer don't work. |
Re: change Cell Style, posted by Andreas Luedeke on Tue Jun 30 17:12:10 2020
|
You should edit the CSS style file: /usr/local/elog/themes/default/elog.css
Just change all fields "background-color:" to your desired color; e.g. "#FFFFFF" for white.
Lahreche Abdelmadjid |
Re: change Cell Style, posted by Lahreche Abdelmadjid on Wed Jul 1 09:08:17 2020
|
I would like to change the backround cilor of a cell and not sheet.
also don't use color, but system of point (to print it in monochome printer)
Andreas |
Update, posted by Lahreche Abdelmadjid on Tue Jun 30 13:42:13 2020
|
Hi,
How to do the last update with out losing any data ? |
Re: Update, posted by Andreas Luedeke on Tue Jun 30 17:15:18 2020
|
When you update from a version 2.* to a version 3.* then all elog entry files will be moved in subfolder for each year. But non of the entries are
lost.
Only if you afterwards try to start an old version 2.* with the newly converted data directories, then the old version will not find
any of the entries.
I've updated the ELOG version many times now. The only data I once lost was a modified CSS style file and a "hand |
change Cell Style, posted by Lahreche Abdelmadjid on Tue Jun 30 11:21:11 2020
|
Hi All,
I hope to change the Cell Style backround color into background point.
because my color printer don't work. |