ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
69182
|
Fri Jul 31 08:34:35 2020 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 3.1.4 | Re: testing the client: unclear it worked | The <hostname> you have to actually replace with your real host name. Same for logbook, username and password.
On my local test system I get (actual password hidden here with "...")
~$ elog -h localhost -p 8080 -l demo -u stefan ... -a Authort=SR -a Subject=test test
Message successfully transmitted, ID=5
~$
Jose Caballero wrote: |
Hello,
I just gave it a quick try to the command line client, to see if I can use it to access our institution service.
[root@host ~]# cd /tmp/
[root@host ~]# mkdir elog
[root@host ~]# cd elog
[root@host ~]# wget https://elog.psi.ch/elog/download/RPMS/elog-3.1.4-2.el7.x86_64.rpm
[root@host ~]# rpm2cpio elog-3.1.4-2.el7.x86_64.rpm | cpio -idmv
[root@host ~]# cd usr/local/bin/
[root@host ~]# ./elog --help
[root@host ~]# ./elog -h <hostname> -l <logbook> -u <myusername> <mypassword> -w last
"Message successfully transmitted, ID=-1"
Is that the expected output? I was expecting to see info about the latest message in the server.
Cheers,
Jose
|
|
69181
|
Thu Jul 30 17:11:05 2020 |
| VUIIS SysAdmin | vuiis-sysadmin@vumc.org | Question | Linux | ELOG V3.1.4-966 | Missing log files when rsync to replacement server. | 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/
On the new server all of the 2020 entries are missing and there does not appear to be a 2020 logbook on either server but I can still access the 2020 entries on the old server. Where might they be and how do I get them over to the new server.
Old server says version is ELOG V3.1.4-unknown and new server says version is ELOG V3.1.4-966e3dd
Bothe servers a fully updated CentOS 7. |
69180
|
Thu Jul 30 17:03:12 2020 |
| Jose Caballero | jcaballero.hep@gmail.com | Question | Linux | 3.1.4 | testing the client: unclear it worked | Hello,
I just gave it a quick try to the command line client, to see if I can use it to access our institution service.
[root@host ~]# cd /tmp/
[root@host ~]# mkdir elog
[root@host ~]# cd elog
[root@host ~]# wget https://elog.psi.ch/elog/download/RPMS/elog-3.1.4-2.el7.x86_64.rpm
[root@host ~]# rpm2cpio elog-3.1.4-2.el7.x86_64.rpm | cpio -idmv
[root@host ~]# cd usr/local/bin/
[root@host ~]# ./elog --help
[root@host ~]# ./elog -h <hostname> -l <logbook> -u <myusername> <mypassword> -w last
"Message successfully transmitted, ID=-1"
Is that the expected output? I was expecting to see info about the latest message in the server.
Cheers,
Jose |
69179
|
Thu Jul 23 21:19:24 2020 |
| Illam Pakkirisamy | illam@senseeker.com | Question | Windows | ELOG V3.1.4-a04 | Re: Expanding column width when viewing in Summary mode | 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 the server again. I did not see any changes. Is there something else I'm missing here.
Thanks.
Illam
Stefan Ritt wrote: |
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.
2) After the change, you did not reload the page in your browser.
Try to request the file directly in your browser with <url to elog>/logbook/elog.css then you will see the actual file your browser is using. Make sure your modification is present there.
Stefan
Illam Pakkirisamy wrote: |
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 to try and no change either. Appreciate your help.
Thanks.
Illam
Stefan Ritt wrote: |
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 Pakkirisamy wrote: |
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.
Thanks in advance for your help.
Illam
|
|
|
|
|
69178
|
Wed Jul 22 19:10:08 2020 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | All | ELOG V3.1.2-bd7 | Re: How to change name of record Id from $@MID@$. | 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 clearer.
Stefan
John wrote: |
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 the program back in correct iso (character) format. So I thought I'd pose the question in the meanwhile.
Thanks, John
|
|
69177
|
Wed Jul 22 18:11:56 2020 |
| John | secondcomingtechnologies@fastmail.com | Question | All | ELOG V3.1.2-bd7 | How to change name of record Id from $@MID@$. | 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 the program back in correct iso (character) format. So I thought I'd pose the question in the meanwhile.
Thanks, John |
69176
|
Mon Jul 20 08:37:17 2020 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | ELOG V3.1.4-a04 | Re: Expanding column width when viewing in Summary mode | 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.
2) After the change, you did not reload the page in your browser.
Try to request the file directly in your browser with <url to elog>/logbook/elog.css then you will see the actual file your browser is using. Make sure your modification is present there.
Stefan
Illam Pakkirisamy wrote: |
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 to try and no change either. Appreciate your help.
Thanks.
Illam
Stefan Ritt wrote: |
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 Pakkirisamy wrote: |
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.
Thanks in advance for your help.
Illam
|
|
|
|
69175
|
Sun Jul 19 13:14:36 2020 |
| David Pilgram | David.Pilgram@epost.org.uk | Question | Windows | ELOG V3.1.4-a04 | Re: Expanding column width when viewing in Summary mode | 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, if entries under that title are either non-existant or even shorter. Sometimes entries below the title will dominate, e.g. entries under "Date" title.
I assume your entries under the title in question are things like more than one word, such that they get split into two rows within that cell. Sometimes that can look very untidy. However, if you want the column wider than the title is given, you can pad out the title with " " (without the ""). Either on both sides for a centred title, or on the right for left justified. Or between words if the title has more than one. (Sorry for this edit, I hit submit button rather than preview).
Illam Pakkirisamy wrote: |
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 to try and no change either. Appreciate your help.
Thanks.
Illam
Stefan Ritt wrote: |
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 Pakkirisamy wrote: |
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.
Thanks in advance for your help.
Illam
|
|
|
|
|