Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 298 of 808  Not logged in ELOG logo
ID Date Icon Authordown Author Email Category OS ELOG Version Subject
  66696   Thu Jan 28 11:20:15 2010 Reply Stefan Rittstefan.ritt@psi.chInfoLinuxlatestRe: ELOG for personal use only

Sara Vanini wrote:

Hi,

I'd like to use ELOG as personal work logbook and database with search facilities

(e.g. record work progress, updates, plots, results, meeting schedule, outcome, TODO, etc...).

I will use it ONLY on my laptop, and I'd need to read the files when I don't have internet connection too.

I have no need to retrive files from elsewhere with a Web Browser, and I'd prefer not to open ports on the laptop.

Would this be feasible?

What's the setting I have to specify in elogd.cfg file?

Is there an example of such a ELOG use you could provide?

If you download the standard package, it installs a demo logbook on your computer which you can use as a personal logbook. It uses port 8080 by default, although this can be changed. Then only thing you need to do is to make sure that port 8080 is blocked on your firewall. Read your OS documentation on how to set-up and use a firewall. Once you block port 8080, the data cannot be accessed from outside your laptop. 

  66699   Mon Feb 1 10:17:03 2010 Reply Stefan Rittstefan.ritt@psi.chInfoLinuxlatestRe: ELOG for personal use only

Sara Vanini wrote:

I've properly set the firewall, and access is forbidden from outside. But when I don't have internet access, how could I open my database?

Furthermore: how it is possible to change the "demo" title ? and what's the procedure to open other databases? 

You can start the elogd daemon even when you don't have internet access, and access your database locally under http://localhost:8080. For changing the title of a logbook, please read the documentation. 

  66701   Wed Feb 3 09:49:58 2010 Reply Stefan Rittstefan.ritt@psi.chQuestionLinuxV2.7.5-213Re: Backing up an entire eLog

Ed Rogers wrote:

Hi, I've been using the ELOG software for about a year now. I love it! But as my ELOG becomes more valuable, I become more paranoid about potential data loss. (We've had numerous close-calls with disk failures, recently.) Is there a way to download a backup of my ELOG, all at once? Maybe a command that could create a tar.gz of all the entries and attachments? Further, is there also a command to restore from such a backup? Apologies if this question is answered elsewhere. I couldn't readily find it in the documentation. Regards, --Ed

There is a simple way. In your logbook directory you will find files of the format xxyyzza.log where xxyyzz is the year/month/day of the entries being submitted during that day. The attachments have a similar form, they have just the attachment name appended to the date. To back it up, just copy or tar all files of that directory. If you want to back up a certain year, you can select 2009 for example with 09*.*  To restore these files, simply untar them into the directory and restart the elogd daemon. The restart is necessary, since during start the daemon indexes all entries. 

  66705   Tue Feb 9 15:13:20 2010 Reply Stefan Rittstefan.ritt@psi.chQuestionLinuxlastRe: defult format in entry window

Sara Vanini wrote:

Hi,

is there a way to set default preferences for text in entry text window, as regards : font type, font size, line spacing, paragraph, etc...

 

Thanks

Sara

Unfortunately not to my knowledge. The underlying editor FCKEdit has however certain styles etc., and one might maybe be able to tweak that, but I never figured out how.  

  66717   Fri Feb 19 13:10:50 2010 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.3Re: Remove "demo" logbook..

Tony Albers wrote:

Tony Albers wrote:

Hi,

Is it possible to remove the "demo" logbook?

If I rename the section in elogd.cfg , it complains:

Error: logbook "demo" not defined in elog.conf Please use your browser's back button to go back

But there are other logbooks it can show instead. Is the "demo" logbook hardcoded in elogd?

 

/tony

 I now upgraded to ver. 2.7.8, but I still cannot remove or disable the demo logbook.

The logbook name is in the URL of your browser. In the demo installation, there is a link in the start menu pointing to http://localhost:8080/demo.  If you rename your logbook to something else, you have to change the URL accordingly. The simplest thing is to point it to http://localhost:8080, then you will be presented with a list of available logbooks.

  66721   Sun Feb 21 13:48:56 2010 Reply Stefan Rittstefan.ritt@psi.chQuestionLinuxlatestRe: Preset text =

tom wrote:

I am looking for the correct syntax for Preset Text =

 

I have an html file I want set in the editor so that my users can just enter in the data below the predetermined heading.  What is the correct syntax/file location.  

 

Thanks!

The documentation says:

  • Preset text = <string> or <file>
    This preset value is used for the main body text. It can be a string or a file, which must be present in the logbook directory. Alternatively, an absolute path can be used if the file name starts with a "/" (Unix) or "\" or "x:" (Windows).

and there is nothing to add. There is no special syntax on that file, it just gets copied 1:1 into the edit box. 

  66727   Wed Mar 3 14:29:08 2010 Reply Stefan Rittstefan.ritt@psi.chQuestionAll2280Re: Single Button Entry

Capt. Ben Smith wrote:

Geoff Ellis wrote:

For our application we have a lot of very common events we would like to log.  It would be preferable that for certain events/entries we could setup a single button / quick entry method.  Is there away to accomplish this?

 This would be of value for me as well. I'm trying to develop a event log for a research ship. Thanks. -ben

There are several ways:

1) Use conditional attributes (see https://midas.psi.ch/elog/config.html#conditional). If you have several standard entries, put the into the option list of a "type" attribute. Then depending on that value, you can pre-populate other attributes/options. This is then not a single-button solution, but a single-click plus one selection from a drop-down list solution which should be pretty close.

2) You can make a bookmark in your browser. Take the URL of the logbook, add "?cmd=New" and then for each attribute you can select a preset value using "&p<attribute>=<value>". So for example on the demo logbook you can use

https://midas.psi.ch/elogs/Linux+Demo/?cmd=New&ptype=Routine&pcategory=General&pauthor=Ellis 

which opens the new entry dialog, and pre-set values for Type, Category and Author. Then you can make several bookmarks for different standard entries.

- Stefan

  66738   Thu Mar 11 14:59:29 2010 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.7.8Re: Summary text field is empty for replied entries

Thomas wrote:

It is possible to show the (new) text of a replied entry in the summary text field ?

Actually only for the original entries the text was shown in the text column of the summary report, not for the replies.

In principle you can adjust the number of lines shown in the summary text file with the option summary lines = x. If you increase that value, you start seeing some part of the reply. For elog itself  it is impossible to distinguish the reply text from the origial text, since some people use plain text like

> original
> text
reply

with the reply sometimes below, sometimes above the original text. Other people use full HTML with tables (like in this forum), where it is very hard internally to distinguish between original and reply text. The easiest is not to quote the original text in replies, then you will see it always.

ELOG V3.1.5-3fb85fa6