ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
845
|
Sun Dec 12 17:46:39 2004 |
| Neil Swartz | junkswartz@optonline.net | Bug report | Windows | 2.5.5-2 | Redirect to wrong hostname | I have a computer that has a different idea of its name from the DNS
server. When I run ELOG and someone clicks "Search" I get a page not found.
I tried starting with "-n <hostname>", but elog still uses gethostname.
The example is that DNS says my machine is "abc.company.com" and netstat -
a says elog is listening on 8080 abc.personaldomain.com
Here is the code from elogd.c:
/* get host name for mail notification */
gethostname(host_name, sizeof(host_name));
phe = gethostbyname(host_name);
if (phe != NULL)
phe = gethostbyaddr(phe->h_addr, sizeof(int), AF_INET);
/* if domain name is not in host name, hope to get it from phe */
if (strchr(host_name, '.') == NULL && phe != NULL)
strcpy(host_name, phe->h_name);
I think you should be using tcp_hostname instead of gethostname if it is
specified. |
69399
|
Thu Oct 21 11:00:46 2021 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Bug report | Linux | 3.1.4-2e1708b | Redirect in Execute new needs space after ">" | EDIT: forget the tip below. Instead just call script files: inline scripting in the ELOG config shows very strange behavior. Doing the same in external scripts works reliable.
I just spend an hour searching for a problem. To avoid others to spend the hour again, here's a little "special behaviour" of shell execution in ELOG you should know about:
If you want to do redirect to a file in a shell execution, put a space before and after the redirecting. The following does not work:
Execute new = if ! [ -z "$CampaignID" ] ; then echo "$CampaignID" >/usr/local/elog/logbooks/elog-campaign.default ; fi
You will not get an error message, but the file is not created. But if you add a space it will work as expected:
Execute new = if ! [ -z "$CampaignID" ] ; then echo "$CampaignID" > /usr/local/elog/logbooks/elog-campaign.default ; fi
It is not really a bug; if you know about it, then it is not a big deal: hence this entry here. I saw this behavior on a Linux RHEL7 system.
In case you are wondering: I use this to create a default for the field CampaignID, to be used for new entries in combination with a Preset:
Preset CampaignID = $shell( if [ -r /usr/local/elog/logbooks/elog-campaign.default ] ; then cat /usr/local/elog/logbooks/elog-campaign.default;fi ) |
66792
|
Thu Apr 22 09:51:07 2010 |
| Diogo Alves | diogomiguelalves@gmail.com | Question | Linux | 2.7.7 | Recursively open a new attribute of the same type | Hi,
I have a logbook which, among other things, contains these attributes:
Options Ingredient = Egg, Oil
Options Quantity = 2, 0.1L
Now, I would like to, every time I select an ingredient and respective quantity, that another Ingredient and Quantity field opens up for me to procede addind them.
I've searched in the documentation and found nothing related to this. Maybe I missed it. Is it possible to do this?
Also, is there a way to display 2 attributes in the same row? Messing with CSS is probably the only answer ... correct?
Thank you very much,
Diogo
|
69760
|
Tue Mar 12 09:20:14 2024 |
| Celeste Torkzaban | torkzaban@iqo.uni-hannover.de | Bug report | Windows | ELOG V3.1.3-793 | Record date isn't set to current date when replying to elogs | Hello,
I started using the record date feature in one logbook, since we plan to copy over old entries Joplin/Onenote. When starting a new entry, I see that the record date is automatically set to the current date, but when I reply to an elog, the record date is automatically set to the record date of the elog I'm replying to. Is there a way to fix this?
|
67208
|
Mon Mar 5 16:19:24 2012 |
| Paraic Fahey | paraic.fahey@pfizer.com | Bug report | Windows | 2.7.6 | Record Proliferation | Saving, using Submit sees recently updated fields cleared after hitting SUBMIT.
MOre significantly this then leads to a proliferation of instances of the same record being generated in the logfile and consequently on the logbook.
Has anybody a fix or advice on this? |
69145
|
Sun May 3 15:58:24 2020 |
| Frank Baptista | caffeinejazz@gmail.com | Question | Windows | V3.1.4-80633ba | Record ID corruption | Hi all,
I've encountered an occasional problem that seems to be exacerbated by having a message with many replies.
In our use of ELOG, we run lengthy environmental tests (often several days) in multiple temperature chambers (one logbook for each chamber). We document the start of the test with a log entry, and then periodically create replies -- first to the original log entry, and then to each successive reply (no branching allowed), in order to document how far along the test is.
What I'm seeing is an occasional "hiccup" in the order of records -- in the snapshot below, you can see that the record ID(s) go (in chronological order) ....5654, 5655, 5656, 5659, 5657, 5658, 5660, 5661....
Additionally, in this example, record ID# 5659 and record ID# 5657 are duplicates -- duplicate time stamp and duplicate text.
Has anyone else encountered this?
Thanks,
Frank

|
69355
|
Mon Apr 26 15:40:36 2021 |
| Frank Baptista | caffeinejazz@gmail.com | Question | Windows | V3.1.3-fd7f1e2 | Real-time mirroring? | Hello!
We have a number of local ELOG servers, all mirrored to a single "remote" ELOG server. We have users that create updates at the local server, and some at the remote server, which can run the risk of record conflicts. Right now, the local servers perform a "Mirror cron" every 5 minutes, but even that leaves the door open to potential conflicts.
I found an open-source JAVA-based app called DirSync Pro (https://www.dirsyncpro.org/) which is capable of performing real-time mirroring, and has conflict handling. I "took it for a spin", and it does do what it claims. However, because each ELOG server performs record "indexing", it doesn't recognize records that aren't part of the current list of records. Restarting the ELOG server obviously corrects that, but I was wondering if there is another way to get the server to recognize newer "remotely-generated" records without restarting the server.
As always, I'm appreciative for the outstanding working that has been done to make ELOG the great application that it is!
|
68296
|
Sat Apr 2 12:43:17 2016 |
| Ed Strohak | estrohak@gmail.com | Question | Windows | latest | Read Validation | I'm looking for config examples of a shift log book where operators have to check a box or select their name from a list to prove they have read the latest entries in the log, can anyone help.
Thanks for your time.
Ed.. |
|