Configure default time range in 'Find', posted by Eoin Butler on Fri Jan 16 13:41:18 2015
|
Hello,
We have a very large elog database, and executing a 'Find' on the whole range takes several minutes, locking other users out of the elog for that time. It would be very nice if there could be an option to set the default value of the 'search last ...' option on the find page. Thanks in advance! |
Re: Configure default time range in 'Find', posted by Stefan Ritt on Fri Jan 16 14:29:58 2015
|
Have you tried in the "Find" page to set a start date, or select "Show last: Month". This shoudl speed up searching quit a bit.
Eoin Butler wrote: |
Hello,
We have a very large elog database, and executing a 'Find' on the whole range takes several minutes, locking other users out of the elog for that time. It would be very nice if there could be an option to set the default value of the 'search last ...' option on the find page. Thanks in advance!
|
|
Re: Configure default time range in 'Find', posted by Eoin Butler on Mon Jan 19 11:09:31 2015
|
Yes, this works, but users inevitably forget to select "last week" or whatever, and just leave it blank, which means their search unintentionally takes a long time. It would be much better if one could configure it to default to something "fast".
Stefan Ritt wrote: |
Have you tried in the "Find" page to set a start date, or select "Show last: Month". This shoudl speed up searching quit a bit.
|
|
Re: Configure default time range in 'Find', posted by David Pilgram on Mon Jan 19 17:17:32 2015
|
Hi there, In the "Find" page, I changed the default of the "Show last" drop down box in the Entry Date section from the (unstated) "All time" to "Day", and added back in an "All Time" option at the very bottom. This gives a default of searching the last day, and one has to think and select the period of time to search back on.
I did this on my 2.9.2-2475 version, recompiled and it works. Two lines of code changed and even my cr*ppy coding was up to the task. I don't know if Stefan would want to put this into the Master copy (I'll forward the changes if you want Stefan, but it's pretty easy if I can do it), but if you can edit and recompile (Eoin) I can tell you which to lines for immediate functionality. Back up everything first, though!
Eoin Butler wrote: |
Yes, this works, but users inevitably forget to select "last week" or whatever, and just leave it blank, which means their search unintentionally takes a long time. It would be much better if one could configure it to default to something "fast".
Stefan Ritt wrote: |
Have you tried in the "Find" page to set a start date, or select "Show last: Month". This shoudl speed up searching quit a bit.
|
|
|
Re: Configure default time range in 'Find', posted by David Pilgram on Tue Jan 20 00:58:58 2015
|
It has just occurred to me that you may also have to check the non-English files, (./resorces/eloglang_xxxx) as this change introduces a new term "All time" that would need translation into the other lexicons.
By the way, in further testing, the "Show last" selection over-rides whatever two dates are selected, so if you ask for any entry in Dec 2014, but the "Show last" selects "week", nothing is found - very quickly. I trust that is what you're after, Eoin. I'll keep my change to the coding, but that's personal choice.
David.
David Pilgram wrote: |
Hi there, In the "Find" page, I changed the default of the "Show last" drop down box in the Entry Date section from the (unstated) "All time" to "Day", and added back in an "All Time" option at the very bottom. This gives a default of searching the last day, and one has to think and select the period of time to search back on.
I did this on my 2.9.2-2475 version, recompiled and it works. Two lines of code changed and even my cr*ppy coding was up to the task. I don't know if Stefan would want to put this into the Master copy (I'll forward the changes if you want Stefan, but it's pretty easy if I can do it), but if you can edit and recompile (Eoin) I can tell you which to lines for immediate functionality. Back up everything first, though!
Eoin Butler wrote: |
Yes, this works, but users inevitably forget to select "last week" or whatever, and just leave it blank, which means their search unintentionally takes a long time. It would be much better if one could configure it to default to something "fast".
Stefan Ritt wrote: |
Have you tried in the "Find" page to set a start date, or select "Show last: Month". This shoudl speed up searching quit a bit.
|
|
|
|
Re: Configure default time range in 'Find', posted by Stefan Ritt on Thu Jan 22 16:30:07 2015
|
I added a new optoin "Show last default = <days>", where one can pre-set the "Show last" drop-down box. I think this is a good idea, so now people can configure their elog to a certain default in this parameter. Of course all settings in the Find page are AND'ed together, so if one restricts the search to tha last week, but then looks for a date more in the past, the result will be zero by definition. The change is in the GIT repository. If you cannot recompile the code yourself, you have to wait for the next release.
David Pilgram wrote: |
By the way, in further testing, the "Show last" selection over-rides whatever two dates are selected, so if you ask for any entry in Dec 2014, but the "Show last" selects "week", nothing is found - very quickly. I trust that is what you're after, Eoin. I'll keep my change to the coding, but that's personal choice.
|
|
Re: Configure default time range in 'Find', posted by Eoin Butler on Thu Jan 22 17:04:03 2015
|
This looks like exactly what I wanted, thanks!
Stefan Ritt wrote: |
I added a new optoin "Show last default = <days>", where one can pre-set the "Show last" drop-down box. I think this is a good idea, so now people can configure their elog to a certain default in this parameter. Of course all settings in the Find page are AND'ed together, so if one restricts the search to tha last week, but then looks for a date more in the past, the result will be zero by definition. The change is in the GIT repository. If you cannot recompile the code yourself, you have to wait for the next release.
David Pilgram wrote: |
By the way, in further testing, the "Show last" selection over-rides whatever two dates are selected, so if you ask for any entry in Dec 2014, but the "Show last" selects "week", nothing is found - very quickly. I trust that is what you're after, Eoin. I'll keep my change to the coding, but that's personal choice.
|
|
|
Re: Configure default time range in 'Find', posted by David Pilgram on Thu Jan 22 17:32:16 2015
|
If my coding had been up to it, I would have done this and submitted... thanks Stefan.
Stefan Ritt wrote: |
I added a new optoin "Show last default = <days>", where one can pre-set the "Show last" drop-down box. I think this is a good idea, so now people can configure their elog to a certain default in this parameter. Of course all settings in the Find page are AND'ed together, so if one restricts the search to tha last week, but then looks for a date more in the past, the result will be zero by definition. The change is in the GIT repository. If you cannot recompile the code yourself, you have to wait for the next release.
David Pilgram wrote: |
By the way, in further testing, the "Show last" selection over-rides whatever two dates are selected, so if you ask for any entry in Dec 2014, but the "Show last" selects "week", nothing is found - very quickly. I trust that is what you're after, Eoin. I'll keep my change to the coding, but that's personal choice.
|
|
|
Re: Configure default time range in 'Find', posted by David Pilgram on Sun Mar 15 16:41:49 2015
|
Hi Stefan,
There's one pre-set value you forgot to include in this, which is the genuinely required "Show last all time". I archive many logbooks by years, and so for the year 2005 (say), searching by anything other than all time will always bring up zero results. And it gets annoying that the default default is "Day", the number of times I've forgotten...
I got around this by allowing a "Show last default = 0", modifying the relevent line in the block of code you modified when this was introduced to make this select "i==0", and that did the trick.
Stefan Ritt wrote: |
I added a new optoin "Show last default = <days>", where one can pre-set the "Show last" drop-down box. I think this is a good idea, so now people can configure their elog to a certain default in this parameter. Of course all settings in the Find page are AND'ed together, so if one restricts the search to tha last week, but then looks for a date more in the past, the result will be zero by definition. The change is in the GIT repository. If you cannot recompile the code yourself, you have to wait for the next release.
David Pilgram wrote: |
By the way, in further testing, the "Show last" selection over-rides whatever two dates are selected, so if you ask for any entry in Dec 2014, but the "Show last" selects "week", nothing is found - very quickly. I trust that is what you're after, Eoin. I'll keep my change to the coding, but that's personal choice.
|
|
|
Re: Configure default time range in 'Find', posted by David Pilgram on Sun Mar 15 17:53:44 2015
|
Law of unintended consequences came into play. If you use 0, then on the results page it says "Restricted search to last 0 Days". So that also needs tweeking, and that's really put my c coding (or lack of it) to the test. But I've changed that phrase to "Unrestricted search" followed by blank for when the parameter "last" is 0.
Oh, and a typo, "seach" instead of "search".
No doubt other features will show up...
David Pilgram wrote: |
Hi Stefan,
There's one pre-set value you forgot to include in this, which is the genuinely required "Show last all time". I archive many logbooks by years, and so for the year 2005 (say), searching by anything other than all time will always bring up zero results. And it gets annoying that the default default is "Day", the number of times I've forgotten...
I got around this by allowing a "Show last default = 0", modifying the relevent line in the block of code you modified when this was introduced to make this select "i==0", and that did the trick.
Stefan Ritt wrote: |
I added a new optoin "Show last default = <days>", where one can pre-set the "Show last" drop-down box. I think this is a good idea, so now people can configure their elog to a certain default in this parameter. Of course all settings in the Find page are AND'ed together, so if one restricts the search to tha last week, but then looks for a date more in the past, the result will be zero by definition. The change is in the GIT repository. If you cannot recompile the code yourself, you have to wait for the next release.
David Pilgram wrote: |
By the way, in further testing, the "Show last" selection over-rides whatever two dates are selected, so if you ask for any entry in Dec 2014, but the "Show last" selects "week", nothing is found - very quickly. I trust that is what you're after, Eoin. I'll keep my change to the coding, but that's personal choice.
|
|
|
|
Re: Configure default time range in 'Find', posted by Andreas Luedeke on Mon Mar 16 07:16:56 2015
|
Hi David,
isn't the empty string "" doing already exactly what you want to achieve with "Show last all time"?
It is at least in my logbook.
Cheers
Andreas
David Pilgram wrote: |
Hi Stefan,
There's one pre-set value you forgot to include in this, which is the genuinely required "Show last all time". I archive many logbooks by years, and so for the year 2005 (say), searching by anything other than all time will always bring up zero results. And it gets annoying that the default default is "Day", the number of times I've forgotten...
I got around this by allowing a "Show last default = 0", modifying the relevent line in the block of code you modified when this was introduced to make this select "i==0", and that did the trick.
Stefan Ritt wrote: |
I added a new optoin "Show last default = <days>", where one can pre-set the "Show last" drop-down box. I think this is a good idea, so now people can configure their elog to a certain default in this parameter. Of course all settings in the Find page are AND'ed together, so if one restricts the search to tha last week, but then looks for a date more in the past, the result will be zero by definition. The change is in the GIT repository. If you cannot recompile the code yourself, you have to wait for the next release.
David Pilgram wrote: |
By the way, in further testing, the "Show last" selection over-rides whatever two dates are selected, so if you ask for any entry in Dec 2014, but the "Show last" selects "week", nothing is found - very quickly. I trust that is what you're after, Eoin. I'll keep my change to the coding, but that's personal choice.
|
|
|
|
Re: Configure default time range in 'Find', posted by David Pilgram on Mon Mar 16 13:51:11 2015
|
Hi Andreas,
Yes, the empty string does exactly that, in the drop down menu, but before my changes, I could not set it to be the default setting in the configuration file. In an archived logbook, it's perfectly possible for "all time" to be the only sensible value. I tried "Show last default = " and various other variants, with no success in getting what I actually required. Also, in the documentation, there was no mention of a way to set the default as "all time", just a list of number of days (week (7), month (31), year (364) etc), which also led me to believe that it was not possible with the existing code.
I've sent an email to Stefan giving my coding changes for information.
Andreas Luedeke wrote: |
Hi David,
isn't the empty string "" doing already exactly what you want to achieve with "Show last all time"?
It is at least in my logbook.
Cheers
Andreas
David Pilgram wrote: |
Hi Stefan,
There's one pre-set value you forgot to include in this, which is the genuinely required "Show last all time". I archive many logbooks by years, and so for the year 2005 (say), searching by anything other than all time will always bring up zero results. And it gets annoying that the default default is "Day", the number of times I've forgotten...
I got around this by allowing a "Show last default = 0", modifying the relevent line in the block of code you modified when this was introduced to make this select "i==0", and that did the trick.
Stefan Ritt wrote: |
I added a new optoin "Show last default = <days>", where one can pre-set the "Show last" drop-down box. I think this is a good idea, so now people can configure their elog to a certain default in this parameter. Of course all settings in the Find page are AND'ed together, so if one restricts the search to tha last week, but then looks for a date more in the past, the result will be zero by definition. The change is in the GIT repository. If you cannot recompile the code yourself, you have to wait for the next release.
David Pilgram wrote: |
By the way, in further testing, the "Show last" selection over-rides whatever two dates are selected, so if you ask for any entry in Dec 2014, but the "Show last" selects "week", nothing is found - very quickly. I trust that is what you're after, Eoin. I'll keep my change to the coding, but that's personal choice.
|
|
|
|
|
Re: Configure default time range in 'Find', posted by Andreas Luedeke on Tue Mar 17 07:04:44 2015
|
Hi David,
I was confused because one normally does not need to include a line in the configuration to set a default value. A default is exactly what you get if you don't specify anything in the configuration 
But I think I've figured it out: you were overriding the default in the global section for all logbooks and wanted to get back to the default for a particular logbook.
Then another simple solution would have been to remove the line in the global section and add it just in those logbook configurations, where you actually need it.
Anyway, it is good that one can now set the default in the configuration; I agree that this should always be possible.
Cheers
Andreas
David Pilgram wrote: |
Hi Andreas,
Yes, the empty string does exactly that, in the drop down menu, but before my changes, I could not set it to be the default setting in the configuration file. In an archived logbook, it's perfectly possible for "all time" to be the only sensible value. I tried "Show last default = " and various other variants, with no success in getting what I actually required. Also, in the documentation, there was no mention of a way to set the default as "all time", just a list of number of days (week (7), month (31), year (364) etc), which also led me to believe that it was not possible with the existing code.
I've sent an email to Stefan giving my coding changes for information.
Andreas Luedeke wrote: |
Hi David,
isn't the empty string "" doing already exactly what you want to achieve with "Show last all time"?
It is at least in my logbook.
Cheers
Andreas
David Pilgram wrote: |
Hi Stefan,
There's one pre-set value you forgot to include in this, which is the genuinely required "Show last all time". I archive many logbooks by years, and so for the year 2005 (say), searching by anything other than all time will always bring up zero results. And it gets annoying that the default default is "Day", the number of times I've forgotten...
I got around this by allowing a "Show last default = 0", modifying the relevent line in the block of code you modified when this was introduced to make this select "i==0", and that did the trick.
Stefan Ritt wrote: |
I added a new optoin "Show last default = <days>", where one can pre-set the "Show last" drop-down box. I think this is a good idea, so now people can configure their elog to a certain default in this parameter. Of course all settings in the Find page are AND'ed together, so if one restricts the search to tha last week, but then looks for a date more in the past, the result will be zero by definition. The change is in the GIT repository. If you cannot recompile the code yourself, you have to wait for the next release.
David Pilgram wrote: |
By the way, in further testing, the "Show last" selection over-rides whatever two dates are selected, so if you ask for any entry in Dec 2014, but the "Show last" selects "week", nothing is found - very quickly. I trust that is what you're after, Eoin. I'll keep my change to the coding, but that's personal choice.
|
|
|
|
|
|
Re: Configure default time range in 'Find', posted by Stefan Ritt on Tue Mar 24 15:49:28 2015
|
Show last default = 0
always worked, even in my original code. It was just not documented. I added that.
Andreas Luedeke wrote: |
Hi David,
I was confused because one normally does not need to include a line in the configuration to set a default value. A default is exactly what you get if you don't specify anything in the configuration 
But I think I've figured it out: you were overriding the default in the global section for all logbooks and wanted to get back to the default for a particular logbook.
Then another simple solution would have been to remove the line in the global section and add it just in those logbook configurations, where you actually need it.
Anyway, it is good that one can now set the default in the configuration; I agree that this should always be possible.
Cheers
Andreas
David Pilgram wrote: |
Hi Andreas,
Yes, the empty string does exactly that, in the drop down menu, but before my changes, I could not set it to be the default setting in the configuration file. In an archived logbook, it's perfectly possible for "all time" to be the only sensible value. I tried "Show last default = " and various other variants, with no success in getting what I actually required. Also, in the documentation, there was no mention of a way to set the default as "all time", just a list of number of days (week (7), month (31), year (364) etc), which also led me to believe that it was not possible with the existing code.
I've sent an email to Stefan giving my coding changes for information.
|
|
|
How to change configuration already set properly, posted by Banata Wachid Ridwan on Wed Mar 18 04:25:14 2015
|
Hello, I have configuration file that already set on running logbook
but I want to change for example category and Atributes, and some other setting to match our language
If I just simply change category, or other option, when I log in on logbook, It wont show as I though. When I change back to original setting, it will show
How to change setting in configuration properly, so It will show and logbook still consistent using the new category and other option I just set.
thanx for the help |
Re: How to change configuration already set properly, posted by Andreas Luedeke on Wed Mar 18 09:34:46 2015
|
ELOG does not provide you with a simple mechanism to rename attributes in existing entries.
If you rename an attribute in the configuration, then you need to adapt all existing entries by replacing the name in all *a.log files on the server.
Or you could set-up a second logbook with the renamed attributes, export all entries from the first logbook (use "Find") and import these entries in the second logbook.
Banata Wachid Ridwan wrote: |
Hello, I have configuration file that already set on running logbook
but I want to change for example category and Atributes, and some other setting to match our language
If I just simply change category, or other option, when I log in on logbook, It wont show as I though. When I change back to original setting, it will show
How to change setting in configuration properly, so It will show and logbook still consistent using the new category and other option I just set.
thanx for the help
|
|
Re: How to change configuration already set properly, posted by Banata Wachid Ridwan on Fri Mar 20 08:11:15 2015
|
ok.
what *a.log ? is it all database from elog? so I need to open it with text editor and replace all . am I Correct?
Andreas Luedeke wrote: |
ELOG does not provide you with a simple mechanism to rename attributes in existing entries.
If you rename an attribute in the configuration, then you need to adapt all existing entries by replacing the name in all *a.log files on the server.
Or you could set-up a second logbook with the renamed attributes, export all entries from the first logbook (use "Find") and import these entries in the second logbook.
Banata Wachid Ridwan wrote: |
Hello, I have configuration file that already set on running logbook
but I want to change for example category and Atributes, and some other setting to match our language
If I just simply change category, or other option, when I log in on logbook, It wont show as I though. When I change back to original setting, it will show
How to change setting in configuration properly, so It will show and logbook still consistent using the new category and other option I just set.
thanx for the help
|
|
|
Re: How to change configuration already set properly, posted by Andreas Luedeke on Fri Mar 20 09:23:57 2015
|
ELOG is storing all entries as text files. Open text files and use search and replace in text editor. Or instead: export with Find and import in another ELOG with renamed attributes.
Banata Wachid Ridwan wrote: |
ok.
what *a.log ? is it all database from elog? so I need to open it with text editor and replace all . am I Correct?
Andreas Luedeke wrote: |
ELOG does not provide you with a simple mechanism to rename attributes in existing entries.
If you rename an attribute in the configuration, then you need to adapt all existing entries by replacing the name in all *a.log files on the server.
Or you could set-up a second logbook with the renamed attributes, export all entries from the first logbook (use "Find") and import these entries in the second logbook.
Banata Wachid Ridwan wrote: |
Hello, I have configuration file that already set on running logbook
but I want to change for example category and Atributes, and some other setting to match our language
If I just simply change category, or other option, when I log in on logbook, It wont show as I though. When I change back to original setting, it will show
How to change setting in configuration properly, so It will show and logbook still consistent using the new category and other option I just set.
thanx for the help
|
|
|
|
Is it possible to only send an email based on the value of multiple attributes?, posted by Darren Hollinrake on Mon Mar 9 17:03:38 2015
|
My current setup notifies users if downtime = yes. Email Downtime Yes = user1@xyz.com, user2@xyz.com
Is it possible to only send an email based on the value of multiple attributes?
For my use:
user1 only needs notifications if Platform = Workstation and Downtime = Yes
user2 only needs notifications if Platform = Network and Downtime = Yes |
Re: Is it possible to only send an email based on the value of multiple attributes?, posted by Stefan Ritt on Mon Mar 9 17:24:42 2015
|
Darren Hollinrake wrote: | My current setup notifies users if downtime = yes. Email Downtime Yes = user1@xyz.com, user2@xyz.com
Is it possible to only send an email based on the value of multiple attributes?
For my use:
user1 only needs notifications if Platform = Workstation and Downtime = Yes
user2 only needs notifications if Platform = Network and Downtime = Yes |
This is currently not implemented, but it's a good idea. I will keep it in mind for the next release. |
Re: Is it possible to only send an email based on the value of multiple attributes?, posted by Andreas Luedeke on Thu Mar 12 09:53:57 2015
|
Darren Hollinrake wrote: | My current setup notifies users if downtime = yes. Email Downtime Yes = user1@xyz.com, user2@xyz.com
Is it possible to only send an email based on the value of multiple attributes?
For my use:
user1 only needs notifications if Platform = Workstation and Downtime = Yes
user2 only needs notifications if Platform = Network and Downtime = Yes |
I think there is a solution, although it is complicated and I haven't tested it:
You can have an invisible field that is set based on a calculation from several fields, and use this field for the conditional email notification.
Just to give an idea, something like:
Subst myUser1Note = $shell( if [ $Platform = "Workstation" ] && [ $Downtime = "Yes" ] then echo "notify";else echo "idle";fi)
Email myUser1Note notify = user1@xyz.com
And if you like you make this field invisible by skipping it in:
Show Attributes = ...
and
Show Attributes Edit = ...
Just an idea...
Andreas |
Elog stability with multiple users, posted by Alan Grant on Wed Feb 18 04:57:32 2015
|
Are there any known or reported daemon stability issues with an increase of concurrent users logged in to view and search entries, while the elog client is also adding 5 to 10 new entries every minute during a peak 2-hour period each day? |
Re: Elog stability with multiple users, posted by Stefan Ritt on Thu Feb 26 10:39:58 2015
|
By desing, there is no collision between different users, since all requests are executed in sequence (single thread). The only problem is that the server becomes unavailable for others if it executes a long search. This is why most users of large lobooks restrict their search to let's say the last month or so by default. This speeds up the search and limits the dead time for others. This can be done via the show last default = <days> directive.
Alan Grant wrote: |
Are there any known or reported daemon stability issues with an increase of concurrent users logged in to view and search entries, while the elog client is also adding 5 to 10 new entries every minute during a peak 2-hour period each day?
|
|
Re: Elog stability with multiple users, posted by Alan Grant on Fri Feb 27 23:06:53 2015
|
We have reduced entries for Search reasons by removing older text files and that seems to speed up things.
However, a recurring problem persists during peak period where the service connection is lost (site says "Not
found" on both client and directly on server), and it cannot be restarted or killed. Only a reboot of the 2010
x64 virtual server will make it available again.
Any further info or details I can provide please advise. Thank you Stefan. |
Re: Elog stability with multiple users, posted by David Pilgram on Sat Feb 28 14:08:43 2015
|
I grant that this may be a complete red herring, but your description below - not available and having to reboot -
might have another explanation. At least in Linux.
I have found that if you have a broken thread, and you try to access that thread, the daemon goes into an endless
loop and
I could not kill off the daemon by normal means, but had to reboot the computer. The daemon cannot cope with not
finding
an entry where one is referenced by a subsequent (or previous, I assume) entry.
A broken thread can occur if you move a thread with a large number of subsequent entries - more than say 50 (I
don't know
the precise number) from one log book to another. The copy part of the move works, but the deleting of the entries
in the
original log book is incomplete, leaving an orphan set of (later) entires. Access those, and it's time for a
reboot. Which makes
finding them a potentially tedius and multiple rebooting exercise. I know, because I've had to track a number in
my time.
Just a thought.
David.
> We have reduced entries for Search reasons by removing older text files and that seems to speed up things.
> However, a recurring problem persists during peak period where the service connection is lost (site says "Not
> found" on both client and directly on server), and it cannot be restarted or killed. Only a reboot of the 2010
> x64 virtual server will make it available again.
>
> Any further info or details I can provide please advise. Thank you Stefan. |
Re: Elog stability with multiple users, posted by Stefan Ritt on Mon Mar 2 08:06:38 2015
|
Being not able to kill a server running in an endless loop seems strange to me. If you put any program artificially into an endless loop, you can kill it via "kill -9 <pid>". Have you tried that? The only exception I
can imagine is if there is a problem in the file system, like your elog logbooks are mounted via NFS or some other remote filesystem, and you have a problem there. Since the process might be stuck in kernel
mode, you cannot kill it. That's why I have all my servers running on local file systems. Just another thought.
/Stefan |
Enter past date for logbook, posted by Banata Wachid Ridwan on Wed Feb 25 03:28:24 2015
|
Is it possible to enter past date in logbook
I forgot to enter log yesterday, is it possible to add up now? |
Re: Enter past date for logbook, posted by Stefan Ritt on Wed Feb 25 07:52:21 2015
|
No. The date/time tag is there to actually document the time when the log was made. If you are late, you are late.
Banata Wachid Ridwan wrote: |
Is it possible to enter past date in logbook
I forgot to enter log yesterday, is it possible to add up now?
|
|
Re: Enter past date for logbook, posted by Andreas Luedeke on Wed Feb 25 08:41:59 2015
|
As an administrator of the logbook you could add an additional attribute, e.g. "when" of type datetime.
Each entry would then have the unchangeable entry time and an addtional time, e.g. of the event you are describing in the entry.
For more details look here: elog:67712
Banata Wachid Ridwan wrote: |
Is it possible to enter past date in logbook
I forgot to enter log yesterday, is it possible to add up now?
|
|
maximum attributes for drop down menu., posted by rob on Fri Feb 20 11:04:03 2015
|
We use a servername field to be able to select a server.
When i entered my entire serverlist (574 entries), only 250 of them show up.
Looking at the online documentation about attributes, it is stated that there is a maximum of 100 entries.
With the version we are using (2.7.1) it seems the limit is 250
Can someone tell me if version 3 has the same limitation, or that the max has been increased?
Rob. |
Re: maximum attributes for drop down menu., posted by David Pilgram on Fri Feb 20 16:18:36 2015
|
Hi Rob,
I don't think the default number of 100 has ever changed. However, you can change the number in the source
code and recompile. This was discussed in elog:67674
I increased my maximum from 100 to 120 and recompiled. At some point, though, you'll overflow some stack or other, and maybe that's why you've got the limit of 250. You might also want to consider Andreas's alternative (which I am also thinking about).
rob wrote: | We use a servername field to be able to select a server.
When i entered my entire serverlist (574 entries), only 250 of them show up.
Looking at the online documentation about attributes, it is stated that there is a maximum of 100 entries.
With the version we are using (2.7.1) it seems the limit is 250
Can someone tell me if version 3 has the same limitation, or that the max has been increased?
Rob. |
|
Fail to install in mac, posted by Alex on Fri Feb 13 16:43:00 2015
|
Hi
I am trying to install to mac 10.10.2 - everything works almost fine, but when I issue the sudo make install I get
Installing example logbook to /usr/local/elog/logbooks/demo
install: logbooks/demo/2001/011108a.log -> /usr/local/elog/logbooks/demo/2001/011108a.log
install: elogd.plist: No such file or directory
make: *** [install] Error 71
Any idea why ?
Thanks
Alex
|
Re: Fail to install in mac, posted by Stefan Ritt on Fri Feb 13 19:47:43 2015
|
Sorry I forgot to include the elogd.plist file in the distribution. I attached it to this entry, so just copy it into the elog root directory and run again "make install".
/Stefan
Alex wrote: |
Hi
I am trying to install to mac 10.10.2 - everything works almost fine, but when I issue the sudo make install I get
Installing example logbook to /usr/local/elog/logbooks/demo
install: logbooks/demo/2001/011108a.log -> /usr/local/elog/logbooks/demo/2001/011108a.log
install: elogd.plist: No such file or directory
make: *** [install] Error 71
Any idea why ?
Thanks
Alex
|
|
Re: Fail to install in mac, posted by Alex on Fri Feb 13 20:36:59 2015
|
Thanks! now install works fine - but I cannot find how to open and start writing- I do
/usr/local/sbin/elogd
elogd 3.0.0 built Feb 13 2015, 16:42:32 revision 21dc563
CKeditor detected
ImageMagick detected
Indexing logbooks ... done
Server listening on port 8080 ...
but nothing pops up...I mean it is not possible to run "offline" ie locally on my mac ?
|
Re: Fail to install in mac, posted by Stefan Ritt on Fri Feb 13 21:18:46 2015
|
Point your browser to http://localhost:8080 as written in the documentation
Alex wrote: |
Thanks! now install works fine - but I cannot find how to open and start writing- I do
/usr/local/sbin/elogd
elogd 3.0.0 built Feb 13 2015, 16:42:32 revision 21dc563
CKeditor detected
ImageMagick detected
Indexing logbooks ... done
Server listening on port 8080 ...
but nothing pops up...I mean it is not possible to run "offline" ie locally on my mac ?
|
|
Link to full resolution image attachments, posted by Eric Quintero on Mon Jan 26 23:13:47 2015
|
Hi all,
It's possible my question is entirely within the domain of CKeditor, but I figure it may also have something to do with how it's plugged into ELOG.
In essence, when attaching a PDF to an ELOG post as an image, the post body shows the generated thumbnail and there is a link to the full resolution PDF at the bottom of the post.
However, if instead, I attach a JPG or PNG, the link to the full resolution image is not present in the post (though it can be accessed through the small paperclip icon).
Is there a way to show links to the thumbnailed images, or even for the thumbnail itself to be a hyperlink to the full resolution source?
Thanks for your time,
Eric Q. |
Re: Link to full resolution image attachments, posted by Stefan Ritt on Tue Jan 27 17:03:53 2015
|
Strange. If I attach a big image to this post (see below), I see the thumbnail, but when I click on it it, I get redirected to the full resolution image. No idea why it is not working for you.
Eric Quintero wrote: |
Hi all,
It's possible my question is entirely within the domain of CKeditor, but I figure it may also have something to do with how it's plugged into ELOG.
In essence, when attaching a PDF to an ELOG post as an image, the post body shows the generated thumbnail and there is a link to the full resolution PDF at the bottom of the post.
However, if instead, I attach a JPG or PNG, the link to the full resolution image is not present in the post (though it can be accessed through the small paperclip icon).
Is there a way to show links to the thumbnailed images, or even for the thumbnail itself to be a hyperlink to the full resolution source?
Thanks for your time,
Eric Q.
|
|
Re: Link to full resolution image attachments, posted by Eric Quintero on Wed Jan 28 17:18:08 2015
|
Stefan Ritt wrote: |
Strange. If I attach a big image to this post (see below), I see the thumbnail, but when I click on it it, I get redirected to the full resolution image. No idea why it is not working for you.
|
Sorry, I wasn't sufficiently clear. The issue I mentioned only applied to images that are inlined in the body of the post using the "Image" button in the CKeditor toolbar.
Oddly enough, on this logbook, I am not able to upload an image in that way; after selecting the image and pressing "Send it to the Server," nothing happens. |
Re: Link to full resolution image attachments, posted by Eric Quintero on Fri Jan 30 22:45:02 2015
|
Since I am unable to attach an image to this logbook, I made a post over the the Linux Demo logbook showing an image that was uploaded with the CKeditor toolbar "Image" button that doesn't link to the full resolution image.
Incidentially, Dario Milicic's recent commit to the git repository (83a10a5), adds the exact functionality I'm looking for to drag-and-drop attachments with the "dndfiles" CKeditor plugin. I've looked througe the "image2" code myself, but I don't have much experience with javascript, and haven't figure out how to do the equivalent for that plugin.
Thanks for your time. |
Re: Link to full resolution image attachments, posted by Andreas Luedeke on Mon Feb 2 10:40:38 2015
|
If you add the picture in the HTML editor, then you can add any link you like.
I don't see why the specific link to the full resolution picture should be the default.
If you want to have it, why not just add it by hand?
I took the liberty to edit your Linux Demo post accordingly.
For attachments that is a completely different story, since you cannot add any links there, only ELOG can do this for you.
Eric Quintero wrote: |
Since I am unable to attach an image to this logbook, I made a post over the the Linux Demo logbook showing an image that was uploaded with the CKeditor toolbar "Image" button that doesn't link to the full resolution image.
Incidentially, Dario Milicic's recent commit to the git repository (83a10a5), adds the exact functionality I'm looking for to drag-and-drop attachments with the "dndfiles" CKeditor plugin. I've looked througe the "image2" code myself, but I don't have much experience with javascript, and haven't figure out how to do the equivalent for that plugin.
Thanks for your time.
|
|
Re: Link to full resolution image attachments, posted by Eric Quintero on Wed Feb 4 08:51:37 2015
|
You make a valid point!
My perspective is from my lab's specific use case, in which we often post plots of data in the body of the text, and it is useful for the ELOG-generated thumbnails to link to the full resolution plot. In previous versions, I believe this was the behavior. It would be convenient for my users if this continued to be the case, but I understand that it is not neccesarily the appropriate default behavior for all users of ELOG.
Andreas Luedeke wrote: |
If you add the picture in the HTML editor, then you can add any link you like.
I don't see why the specific link to the full resolution picture should be the default.
If you want to have it, why not just add it by hand?
I took the liberty to edit your Linux Demo post accordingly.
For attachments that is a completely different story, since you cannot add any links there, only ELOG can do this for you
|
|
Re: Link to full resolution image attachments, posted by Stefan Ritt on Wed Feb 4 13:32:21 2015
|
I put the functionality you requested into the current GIT version of ELOG. It works now with Drag & Drop, but not (yet) with the toolbar uploader.
Eric Quintero wrote: |
You make a valid point!
My perspective is from my lab's specific use case, in which we often post plots of data in the body of the text, and it is useful for the ELOG-generated thumbnails to link to the full resolution plot. In previous versions, I believe this was the behavior. It would be convenient for my users if this continued to be the case, but I understand that it is not neccesarily the appropriate default behavior for all users of ELOG.
Andreas Luedeke wrote: |
If you add the picture in the HTML editor, then you can add any link you like.
I don't see why the specific link to the full resolution picture should be the default.
If you want to have it, why not just add it by hand?
I took the liberty to edit your Linux Demo post accordingly.
For attachments that is a completely different story, since you cannot add any links there, only ELOG can do this for you
|
|
|
|