ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
67607
|
Wed Nov 13 13:36:48 2013 |
| David Pilgram | David.Pilgram@epost.org.uk | Question | Linux | 2.9.2-2475 | date and time | [13 Nov]
As my threads have lots of replies, I end up with a forest of ">" characters which makes it difficult to read
earlier quoted entries (what with word-wrapping of the browser).
I thought to replace the ">"s by a simple date entry prepended to the start of each reply. - much as I have
given at the top of this initial entry.
So this is what I put in the config file:
....
Time format = %a %d %b %y
Date format = %d %b
Prepend on reply = [$date] \n
...
The time is used in the string for the Thread display.
Only I don't get the date, with the date format, prepended to replies but the time, in the time format, as
[Wed 13 Nov 13]
Now this is hardly a disaster, but any ideas why the date formatting is being ignored? |
67608
|
Wed Nov 13 14:27:34 2013 |
| Hal Proctor | hproctor2@gmail.com | Question | Linux | 2.9.2-2475 | Re: date and time | > [13 Nov] > As my threads have lots of replies, I end up with a forest of ">" characters which makes it difficult to read > earlier quoted entries (what with word-wrapping of the browser). > I thought to replace the ">"s by a simple date entry prepended to the start of each reply. - much as I have > given at the top of this initial entry. > > So this is what I put in the config file: > > .... > Time format = %a %d %b %y > Date format = %d %b > Prepend on reply = [$date] \n > ... > > The time is used in the string for the Thread display. > > Only I don't get the date, with the date format, prepended to replies but the time, in the time format, as > > [Wed 13 Nov 13] > > Now this is hardly a disaster, but any ideas why the date formatting is being ignored?
https://midas.psi.ch/elogs/Forum/67405
Why all the > Characters? Maybe back off the version as stated in above link? Not sure about the date issue. |
67609
|
Wed Nov 13 14:41:07 2013 |
| David Pilgram | David.Pilgram@epost.org.uk | Question | Linux | 2.9.2-2475 | Re: date and time |
Hal Proctor wrote: |
> [13 Nov] > As my threads have lots of replies, I end up with a forest of ">" characters which makes it difficult to read > earlier quoted entries (what with word-wrapping of the browser). > I thought to replace the ">"s by a simple date entry prepended to the start of each reply. - much as I have > given at the top of this initial entry. > > So this is what I put in the config file: > > .... > Time format = %a %d %b %y > Date format = %d %b > Prepend on reply = [$date] \n > ... > > The time is used in the string for the Thread display. > > Only I don't get the date, with the date format, prepended to replies but the time, in the time format, as > > [Wed 13 Nov 13] > > Now this is hardly a disaster, but any ideas why the date formatting is being ignored?
https://midas.psi.ch/elogs/Forum/67405
Why all the > Characters? Maybe back off the version as stated in above link? Not sure about the date issue.
|
I don't know what happened here - I mean, I understand the ">" characters being added to the start of every line of a quoted previous entry, but now what then happened to the formatting.
By default in plain mode elog adds ">" to the start of every quoted line, just as quoting an email will do (some mailer programs).
If you're beyond your nteenth reply, word-wrapping of the browser etc makes past comments difficult to read. Of course it would be equally difficult in in html mode as the boxes would get more and more nested.
Not sure if your link here about html is relivent to the use of the ">" to indicate a quoted reply or not, although that wasn't really my question - which was about date format in the config file. |
67611
|
Wed Nov 13 16:26:32 2013 |
| Olaf Kasten | olaf.kasten@deutschebahn.com | Question | Linux | 2.9.2-1 | Re: kerberos authentication NOT working |
Andreas Luedeke wrote: |
Hal Proctor wrote: |
Fabio Sella wrote: |
Hi guys,
we configured a kdc server using OPENLDAP as backend. We installed on it elog and configured the Kerberos Authentication on one logbook as follows:
Authentication = Kerberos, File
Kerberos Realm = TEST.COM
Password file = ./pwd.xml
⇄
Detect language » Italian
Even if the kinit comand is retrieving correctly a ticket for the user tsearch@TEST.COM(we see it using klist and tcpdump on lo interface), elogd kerberos authentication is not working.
We tried using tcpdump for troubleshooting but no traffic is generated on the loopback interface.
Did someone solve this problem or do you have an idea on how to make the kerberos authentication working?
Thanks
|
I have asked for same help, and no one has answered with a solution on implementing a kerberos . I saw exactly what you were seeing. (did you try fully qualifying the domain within the username field for logon? \\TEST.COM\username)
I still couldn't get it to work
|
Just my two cent:
- did you edit the Makefile to compile elogd with kerberos (USE_KRB5 = 1)?
- did you look into the elogd logfile for error messages at start-up or at login time?
I can only say that I got it working right away - that is the case when you learn least.
Maybe you should post your specific software versions: operating system (in my case Scientific Linux 5.1 (Boron)), Kerberos version (klist -V), etc.
⇄
English (auto-detected) » English
|
I'm having same issue. Kerberos is working on Apache on same ubuntu 12.04 server. I used the USE_KRB5 option for compiling elog.
Does anyone have an idea to solve that problem? |
67614
|
Thu Nov 14 11:19:12 2013 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Question | Linux | 2.9.2-2475 | Re: date and time | > [13 Nov]
> As my threads have lots of replies, I end up with a forest of ">" characters which makes it difficult to read
> earlier quoted entries (what with word-wrapping of the browser).
> I thought to replace the ">"s by a simple date entry prepended to the start of each reply. - much as I have
> given at the top of this initial entry.
>
> So this is what I put in the config file:
>
> ....
> Time format = %a %d %b %y
> Date format = %d %b
> Prepend on reply = [$date] \n
> ...
>
> The time is used in the string for the Thread display.
>
> Only I don't get the date, with the date format, prepended to replies but the time, in the time format, as
>
> [Wed 13 Nov 13]
>
> Now this is hardly a disaster, but any ideas why the date formatting is being ignored?
Hi David,
yes, a $date is substituted with the "Time format" in the function build_subst_list().
I guess that is a bug, but it could break many existing logbooks to change it.
I leave this to Stefan.
There is a simple solution for your problem: you can execute a shell command.
Prepend on reply = $shell(date '+[%d %b]') \n
Reply string =
That snipped will do exactly what you want :-) (of course you need to have the "-x" option to start elogd.)
Kind Regards
Andreas |
67618
|
Fri Nov 15 10:59:51 2013 |
| Fabian | hiller@nmr.uni-frankfurt.de | Question | Linux | V2.9.2-245 | Inconsistent and long load times | We recently installed ELOG and it works pretty well, but the load times are rather inconsistent. Most of the time
it is very fast, but it also often hangs for around 5-10 seconds while loading. It seems to affect all parts of
the page that are returned at random, so sometimes the main html file will hang, sometimes the css file and
sometimes the images.
The hardware it is running on is nothing special, an older 3 GHz Celeron, but it should be fast enough. It is
running on Debian 7.
Any ideas what the problem could be, or how I could investigate it further to find the bottleneck? |
67619
|
Fri Nov 15 11:30:31 2013 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Question | Linux | V2.9.2-245 | Re: Inconsistent and long load times | > We recently installed ELOG and it works pretty well, but the load times are rather inconsistent. Most of the time
> it is very fast, but it also often hangs for around 5-10 seconds while loading. It seems to affect all parts of
> the page that are returned at random, so sometimes the main html file will hang, sometimes the css file and
> sometimes the images.
>
> The hardware it is running on is nothing special, an older 3 GHz Celeron, but it should be fast enough. It is
> running on Debian 7.
>
> Any ideas what the problem could be, or how I could investigate it further to find the bottleneck?
I'm not an expert in debugging web applications. Here are my two cent:
We once had a problem when we hosted very large logbooks (several 10 thousands of entries) that the server would run
out of real memory and was slowed down by swapping. Therefore my first idea would be to monitor the server: Is
the CPU load peaking? What happens with the memory consumption? Any other suspicious process running on the server?
But it could be as well a network or browser problem. Did you try different browsers?
Did you check the elogd log file? |
67620
|
Fri Nov 15 12:21:45 2013 |
| Fabian | hiller@nmr.uni-frankfurt.de | Question | Linux | V2.9.2-245 | Re: Inconsistent and long load times | > I'm not an expert in debugging web applications. Here are my two cent:
> We once had a problem when we hosted very large logbooks (several 10 thousands of entries) that the server would run
> out of real memory and was slowed down by swapping. Therefore my first idea would be to monitor the server: Is
> the CPU load peaking? What happens with the memory consumption? Any other suspicious process running on the server?
> But it could be as well a network or browser problem. Did you try different browsers?
> Did you check the elogd log file?
The logbook only has a few hundred entries, elogd is using only around 20-30 MB and there is enough free RAM. The load
average for the server is around 0.2, elogd only uses 5% CPU at most when it is accessed and the CPU is idle most of the
time.
Strangely it happens mostly when using Chrome, and almost never with Firefox. I captured the network traffic, but I can't
see anything unusual. It just takes very long until the answer is returned by the elogd server. |
|