ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
68263
|
Wed Feb 17 18:33:18 2016 |
| Stefan Ritt | stefan.ritt@psi.ch | Info | All | ELOG V3.1.1-3f3 | Re: Find empty attributes |
Cool, I didn't know that trick myself, thanks for sharing.
Andreas Luedeke wrote: |
It is possible for normal string attributes: the regular expression pattern "^$" can be used to search for an empty string.
E.g. in this Forum "ELOG Version" is a required attribute, and should never be empty. But if you search for:
you'll find a couple of entries from a time where it apparently wasn't a required attribute.
Cheers
Andreas
Arno Teunisse wrote: |
Want to use the find function from ELOG to search for empty fields ( Attributes that are not defined )
How to do that ?
Could not find it in the Forum.
Greetings Arno Teunisse
|
|
|
68291
|
Tue Mar 22 18:28:03 2016 |
| Edward Diehl | diehl@umich.edu | Question | All | ELOG V2.9.2-245 | Width of text field |
I use a elog which has a text field to show log entries: https://classis01.roma1.infn.it/elog/calib/ In the "Summary" view there are only 3 lines of about 40 characters shown, so often the entry is cut off even though there is plenty of space in the text box for longer lines. To see the full entry you must click on the ID number. Is there any way to configure the Text box to show longer lines? Thank you.
|
68292
|
Wed Mar 23 11:40:52 2016 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Question | All | ELOG V2.9.2-245 | Re: Width of text field |
Did you try the options
Summary lines = x
Summary line length = x
as documented in https://midas.psi.ch/elog/config.html#flags ?
It works nicely with plain text entries; it has some difficulties with HTML, since it has to remove the formatting and that disturbs the line count.
Cheers Andreas
Edward Diehl wrote: |
I use a elog which has a text field to show log entries: https://classis01.roma1.infn.it/elog/calib/ In the "Summary" view there are only 3 lines of about 40 characters shown, so often the entry is cut off even though there is plenty of space in the text box for longer lines. To see the full entry you must click on the ID number. Is there any way to configure the Text box to show longer lines? Thank you.
|
|
68304
|
Wed Apr 27 14:07:52 2016 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Request | All | V3.1.1 | How to enforce line breaks in plain text entries? |
We use ELOG for our accelerator operation logbooks. As part of the shift handover every shift prints out all
entries made during the shift and files the printouts. If one entry in the shift was plain text without
appropriate linebreaks (like this one), then this screws up the printout: the whole window is scaled to the width
of this line and either the printout is cut off at the right side, or the whole content is scaled down to very
tiny scale, which makes it unreadable.
Is there a way to enforce line breaks in plain text entries? |
68305
|
Wed Apr 27 14:15:19 2016 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Request | All | V3.1.1 | Re: How to enforce line breaks in plain text entries? |
> We use ELOG for our accelerator operation logbooks. As part of the shift handover every shift prints out all
> entries made during the shift and files the printouts. If one entry in the shift was plain text without
> appropriate linebreaks (like this one), then this screws up the printout: the whole window is scaled to the
> width of this line and either the printout is cut off at the right side, or the whole content is scaled down to
> very tiny scale, which makes it unreadable.
>
> Is there a way to enforce line breaks in plain text entries?
Obviously there is: this logbook does add line breaks?!?
Maybe it is only a problem with entries made by the "elog" command?
I'll find it out and re-post.
Cheers
Andreas |
68306
|
Wed Apr 27 14:36:42 2016 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Request | All | V3.1.1 | Re: How to enforce line breaks in plain text entries? |
> > We use ELOG for our accelerator operation logbooks. As part of the shift handover every shift prints out all
> > entries made during the shift and files the printouts. If one entry in the shift was plain text without
> > appropriate linebreaks (like this one), then this screws up the printout: the whole window is scaled to the
> > width of this line and either the printout is cut off at the right side, or the whole content is scaled down to
> > very tiny scale, which makes it unreadable.
> >
> > Is there a way to enforce line breaks in plain text entries?
>
> Obviously there is: this logbook does add line breaks?!?
>
> Maybe it is only a problem with entries made by the "elog" command?
> I'll find it out and re-post.
>
> Cheers
> Andreas
Okay, I found two ways to add very long lines:
- if the very long line does not contain a space then this will screw the printout.
- if the line has been added as plain text using the elog command, there will be no line breaks added.
It would be nice if the elog command would have an option to break lines to a maximum line length.
But for the moment I'll just modify the applications that make use of the elog command. |
68307
|
Wed Apr 27 14:39:28 2016 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | All | V3.1.1 | Re: How to enforce line breaks in plain text entries? |
> > We use ELOG for our accelerator operation logbooks. As part of the shift handover every shift prints out all
> > entries made during the shift and files the printouts. If one entry in the shift was plain text without
> > appropriate linebreaks (like this one), then this screws up the printout: the whole window is scaled to the
> > width of this line and either the printout is cut off at the right side, or the whole content is scaled down to
> > very tiny scale, which makes it unreadable.
> >
> > Is there a way to enforce line breaks in plain text entries?
>
> Obviously there is: this logbook does add line breaks?!?
>
> Maybe it is only a problem with entries made by the "elog" command?
> I'll find it out and re-post.
>
> Cheers
> Andreas
Yepp, this is a (missing) feature of the elog command. Can you pre-process your messages outside of it, or do I have to add code to elog to do that?
Stefan |
68359
|
Fri Jul 15 19:46:26 2016 |
| Don | jang.dongwook@gmail.com | Bug report | All | ELOG V3.1.0-241 | Escape character [ or ] doesn't work within [url] |
Here is the problem:
[url=http://example.com?arrays[]=v1&arrays[]=v2]click here[/url]
How can I escape [] inside url tag?
\[\] seems not working. |