ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
69390
|
Mon Aug 30 08:41:14 2021 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 3.1.4 | Re: Large log file size |
If the logbook files are getting big, searching text in entries can take quite some time. But if you have a log file logging all activities, that should not slow down elog since the server just appends at the end of that file which is a quick operation.
Alan Grant wrote: |
Can the size of the application log file affect performance?
|
|
69400
|
Thu Oct 21 11:15:20 2021 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Request | All | 3.1.4 | How about string constants in config files? |
My config files are often large and use some shell scripting. In these shell scripting part I interact with files and execute scripts in specific folder.
It would be nice to have the ability to define for example a file path once and reuse it in different parts of the config file. It would help to make config files cleaner. For example:
Constant c_cid = "/usr/local/elog/logbooks/elog-campaignID.default"
Execute new = if ! [ -z "$CampaignID" ] ; then echo "$CampaignID" > $c_cid; fi
Preset CampaignID = $shell( if [ -r $c_cid ] ; then cat $c_cid; else echo None > $c_cid; echo None; fi )
|
69406
|
Tue Oct 26 01:21:01 2021 |
| Rob Calkins | rcalkins@smu.edu | Question | Linux | 3.1.4 | While mirroring, data fields not preserved |
While running two e-log books that were mirrored, I ended up with the situation of two entries with the same number/id. The mirroring did what it said it would, increment the local logbook entry and grab the entry from the remote logbook. However, when it did, it did not preserve the fields in the log book that are specified in the config file such as "Author", "Priority", "Subject" ect. I ended up with a very minimal log:
|
69413
|
Mon Nov 15 15:41:04 2021 |
| Anthony | anthony.weathers@pm.me | Question | All | 3.1.4 | Shared logbook and elog.cfg file across multiple installations |
Hi,
I'm wondering if it's possible to have a shared logbook and elog.cfg between multiple instances of elog. Ideally, I'd like to have my logbooks folder and elog.cfg hosted on a nextcloud instance while running the elog service locally. I've tried this using symlinks and shortcuts on windows with no luck. I was able to install elog into my mounted nextcloud folder, but this isn't ideal as I would like this to work from multiple computers.
Any ideas or thoughts on how I can do this (if I can actually do this)? |
69414
|
Mon Nov 15 17:40:08 2021 |
| Sebastian Schenk | sebastian.schenk@physik.uni-halle.de | Question | All | 3.1.4 | Re: Shared logbook and elog.cfg file across multiple installations |
Hi Anthony,
the elog has a mirroring function, which synchornizes config and logs between multiple instances.
See the bottom section of https://elog.psi.ch/elog/config.html
Best wishes,
Sebastian
Anthony wrote: |
Hi,
I'm wondering if it's possible to have a shared logbook and elog.cfg between multiple instances of elog. Ideally, I'd like to have my logbooks folder and elog.cfg hosted on a nextcloud instance while running the elog service locally. I've tried this using symlinks and shortcuts on windows with no luck. I was able to install elog into my mounted nextcloud folder, but this isn't ideal as I would like this to work from multiple computers.
Any ideas or thoughts on how I can do this (if I can actually do this)?
|
|
69415
|
Tue Nov 16 13:05:05 2021 |
| Anthony | anthony.weathers@pm.me | Question | All | 3.1.4 | Re: Shared logbook and elog.cfg file across multiple installations |
Thank you Sebastian!
I admittidely haven't looked through the page in a while, so I completely missed this feature. This should solve the problem, although in a slightly different implementation than what I was trying for.
Sebastian Schenk wrote: |
Hi Anthony,
the elog has a mirroring function, which synchornizes config and logs between multiple instances.
See the bottom section of https://elog.psi.ch/elog/config.html
Best wishes,
Sebastian
Anthony wrote: |
Hi,
I'm wondering if it's possible to have a shared logbook and elog.cfg between multiple instances of elog. Ideally, I'd like to have my logbooks folder and elog.cfg hosted on a nextcloud instance while running the elog service locally. I've tried this using symlinks and shortcuts on windows with no luck. I was able to install elog into my mounted nextcloud folder, but this isn't ideal as I would like this to work from multiple computers.
Any ideas or thoughts on how I can do this (if I can actually do this)?
|
|
|
69426
|
Wed Dec 1 12:37:57 2021 |
| Jose Caballero | jcaballero.hep@gmail.com | Question | Linux | 3.1.4 | Unclear how to use the command line tool /usr/bin/elog |
Hello,
I am trying first time to use the tool /usr/bin/elog. From the documentation is not clear to if everything must be in quotes or not, if every attribute requires -a.
Here is how my attempt looks like (changing actual data by fake one):
/usr/bin/elog -h elog-1.matrix.com -l LogBook -u jcaballero mypassword -a Team='Team Name Here' Category='Category Here' -a 'Affected service'='Name of affected service here' -a Criticality=Normal -a 'Oncall Documentation'='No modifications required' -a Subject='here is the subject line' 'here is the text'
I just get "Error transmitting message".
Attributes Team and Category are of checkbox type. Attributes Criticality and Oncall Documentation are of radio type.
What is wrong with my command attempt?
Thanks a lot in advance.
Cheers,
Jose
|
69427
|
Wed Dec 1 13:05:14 2021 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 3.1.4 | Re: Unclear how to use the command line tool /usr/bin/elog |
Please issue the elog command with an added "-v" flag and post the output here.
Stefan
Jose Caballero wrote: |
Hello,
I am trying first time to use the tool /usr/bin/elog. From the documentation is not clear to if everything must be in quotes or not, if every attribute requires -a.
Here is how my attempt looks like (changing actual data by fake one):
/usr/bin/elog -h elog-1.matrix.com -l LogBook -u jcaballero mypassword -a Team='Team Name Here' Category='Category Here' -a 'Affected service'='Name of affected service here' -a Criticality=Normal -a 'Oncall Documentation'='No modifications required' -a Subject='here is the subject line' 'here is the text'
I just get "Error transmitting message".
Attributes Team and Category are of checkbox type. Attributes Criticality and Oncall Documentation are of radio type.
What is wrong with my command attempt?
Thanks a lot in advance.
Cheers,
Jose
|
|