ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
67922
|
Wed May 20 18:46:27 2015 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Comment | All | 3.1.0 | Re: elogd moves elog entries |
> Stefan told me that the change was because some users were having thousands of yymmdda.log files
> in the logbook directories, and that sorting them into subdirectories by year at least did something to bring some
> order. Possibly to get around the lazy archivers, I suspect.
I'm actually the culprit, who did ask for it.
If you want to know the full story, here it is:
We have our logbook data of our accelerator operation logbooks on AFS (Andrew File System).
And apparently AFS has a bloody stupid, hard coded limit:
the total length of all file names in one directory cannot exceed 64k.
Our operation logbooks go back for more than a decade and do contain many, many, many attachment files.
One day - very unexpectedly - we did hit that limit.
Removing temporary files (generated picture thumbnails) bought us time, and Stefan was nice enough to upgrade ELOG swiftly for us: a big "Thank You" to Stefan! |
67923
|
Wed May 20 19:05:43 2015 |
| David Pilgram | David.Pilgram@epost.org.uk | Comment | All | 3.1.0 | Re: elogd moves elog entries |
> > Stefan told me that the change was because some users were having thousands of yymmdda.log files
> > in the logbook directories, and that sorting them into subdirectories by year at least did something to
bring some
> > order. Possibly to get around the lazy archivers, I suspect.
>
> I'm actually the culprit, who did ask for it.
>
> If you want to know the full story, here it is:
> We have our logbook data of our accelerator operation logbooks on AFS (Andrew File System).
> And apparently AFS has a bloody stupid, hard coded limit:
> the total length of all file names in one directory cannot exceed 64k.
> Our operation logbooks go back for more than a decade and do contain many, many, many attachment files.
> One day - very unexpectedly - we did hit that limit.
> Removing temporary files (generated picture thumbnails) bought us time, and Stefan was nice enough to upgrade
ELOG swiftly for us: a big "Thank You" to Stefan!
Hi Andreas,
I had no intention of causing any offence with my lazy archiving comment - hope I didn't, sorry if I did. Just
that sometimes I've hit some limit or other, and
entirely due to my lazy archiving - I only get around to do it when I have to, usually when I've hit a limit, or
some other problem (broken links and orphaned
threads being common ones).
Personally, I would have found it useful to put the attachments into a separate directory - or at least to allow
the possibility. Elog as it stands sometimes
can, and sometimes cannot cope with that functionality - and even to try means messing around directly with the
yymmdda.log files. For me it would have saved me
having duplicates of the same large attachment in two or three different logbooks, if I could always reference
the same Master copy of the attachment. This was
at the time I was severely memory constrained, and in part forced me to change how I had operated elog, so for
me that need isn't as great as it once was.
David. |
67924
|
Wed May 20 20:03:06 2015 |
| Konstantin Olchanski | olchansk@triumf.ca | Bug report | Linux | 3.1.0 | Re: elogd moves elog entries |
> Stefan told me that the change was because some users were having thousands of yymmdda.log files
> in the logbook directories
I am one of those users. The elog for the ALPHA experiment at CERN goes back to 2006 or so,
with large volume of messages and huge number of attachments. The MIDAS forum elog goes back to 2003.
The TRIUMF DAQ internal elog goes back to 2001.
I think the new organization is an improvement.
K.O. |
67925
|
Wed May 20 22:08:31 2015 |
| David Pilgram | David.Pilgram@epost.org.uk | Bug report | Linux | 3.1.0 | Re: elogd moves elog entries |
> > Stefan told me that the change was because some users were having thousands of yymmdda.log files
> > in the logbook directories
>
> I am one of those users. The elog for the ALPHA experiment at CERN goes back to 2006 or so,
> with large volume of messages and huge number of attachments. The MIDAS forum elog goes back to 2003.
> The TRIUMF DAQ internal elog goes back to 2001.
>
> I think the new organization is an improvement.
>
> K.O.
Hi Konstantin,
I've used elog as my main reference/logbook since 2005. I had looked at it in its version 1 incarnation, but
didn't get on with that so well.
My biggest problem in the past was running elog on two physically separated linux boxes, and for complex reasons
all the logbooks were on a memory stick (plus the vital backup)! Hence my previously mentioned memory issues - in
my case the size of the available memory sticks.
David. |
67927
|
Thu May 21 10:59:07 2015 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Comment | All | 3.1.0 | Re: elogd moves elog entries |
I had no intention of causing any offence with my lazy archiving comment - hope I didn't, sorry if I did.
No offence taken :-)
Personally, I would have found it useful to put the attachments into a separate directory - or at least to allow
the possibility. Elog as it stands sometimes can, and sometimes cannot cope with that functionality - and even to try means messing around directly with the
yymmdda.log files. For me it would have saved me having duplicates of the same large attachment in two or three different logbooks, if I could always reference
the same Master copy of the attachment. This was at the time I was severely memory constrained, and in part forced me to change how I had operated elog, so for
me that need isn't as great as it once was.
David.
You can put a reference to the attachment of the other entry in your logbook: elog:67896/1
Or, if it is an image, you can just include it in your new entry like I did below.
Of course this only works if the other logbook is accessible on-line.
But how would you manage access rights to a common attachment folder?
Probably I just did not understand your idea.
Cheers
Andreas
|
67928
|
Thu May 21 12:13:21 2015 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Bug report | Linux | All | 3.1.0 | Re: elogd moves elog entries |
> > elogd 3.1.0 moves all elog entries into year-named subdirectories. this feature makes it incompatible with older elogs and so should be clearly mentioned in the documentation,
> > in the release announcement and in the release and migration notes. K.O.
>
> But yes, the release documentation by bitbucket is not really that useful:
> it is difficult for me too, to find out what changed with new releases.
I did know that I've read it summarized somewhere!
The changes with the different releases are documented here:
http://midas.psi.ch/elog/download/ChangeLog
It is actually not so difficult to find:
it is linked on the "Download" section http://midas.psi.ch/elog/download.html
"News for each version can be seen in the changelog (->http://midas.psi.ch/elog/download/ChangeLog)"
And for version 3.0.0 it states:
- Create one logbook subdirectory pear year
I admit that version 3.0 has never been announced and the changelog is not mentioned in the announcement of version 3.1.0
Maybe we'll do better in the future ;-) |
67931
|
Fri May 22 13:59:41 2015 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Linux | 3.1.0 | Re: elogd complains about unknown cookies |
> elogd is spewing these messages about unknown cookies:
>
> Received unknown cookie "is_returning"
> Received unknown cookie "__utma"
> Received unknown cookie "__utmz"
> Received unknown cookie "SSESSee3cc9c70bedf9a840203765bf409d7b"
> Received unknown cookie "SESSee3cc9c70bedf9a840203765bf409d7b"
> Received unknown cookie "MidasWikiUserID"
> Received unknown cookie "MidasWikiUserName"
> Received unknown cookie "MidasWiki_session"
>
> K.O.
Delete your cookies ;-)
Elog just logs all unknown cookies for trouble shooting. This should go under verbose output. I changed that just now.
Stefan |
67932
|
Sat May 23 02:49:22 2015 |
| Konstantin Olchanski | olchansk@triumf.ca | Bug report | Linux | 3.1.0 | Re: elogd complains about unknown cookies |
> > elogd is spewing these messages about unknown cookies:
> >
> > Received unknown cookie "is_returning"
> > Received unknown cookie "__utma"
> > Received unknown cookie "__utmz"
> > Received unknown cookie "SSESSee3cc9c70bedf9a840203765bf409d7b"
> > Received unknown cookie "SESSee3cc9c70bedf9a840203765bf409d7b"
> > Received unknown cookie "MidasWikiUserID"
> > Received unknown cookie "MidasWikiUserName"
> > Received unknown cookie "MidasWiki_session"
> >
> > K.O.
>
> Delete your cookies ;-)
>
No, go. The MidasWikiUserName cookie will log me out of the MidasWiki, etc.
But why are MidasWiki cookies sent to the elog? Ah, yes, they all run from the same https://midas.triumf.ca.
This explains why elog complains about unexpected cookies - elogd does not expect to receive
mediawiki cookies - it does not expect to share the https:// connection with somebody else.
This is good to know for the future. (I.e. if mediawiki is confused by elogd cookies).
K.O. |