ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
66896
|
Fri Sep 10 15:38:38 2010 |
| Robert Heine | heine@kph.uni-mainz.de | Question | Windows | 2.8.-2312 | How to setup elogd as windows service with shell execution? |
Dear colleagues,
I am trying to use the elogd as a service with activated shell-execution. Invoking 'elogd -x' on the command line works fine, as well as 'elogd -install'. The option 'elogd -x -install' does not seem to be implemented, so I followed two ways to get this to work:
1) creating my own service with instsrv/srvany and registry editing: starting 'elogd -x' does not work (error 1053), the -D option has to be added, to start the service without time out. But then shell execution seems to be not working, because no input to the elog is generated, but also no message saying shell execution was not enabled!
2) using 'elogd -install' and modifying the registry entry by adding the -x option to the command line in the 'HKLM\System\CurrentControlSet\Services\elogd\ImagePath': This enables shell execution, but instead of piping the output to the logbook, some DOS boxes pop up executing the shell command and terminate. No entries are generated.
Has anyone an idea?
Best regards
Robert
|
66897
|
Mon Sep 13 09:23:29 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.8.-2312 | Re: How to setup elogd as windows service with shell execution? |
Robert Heine wrote: |
Dear colleagues,
I am trying to use the elogd as a service with activated shell-execution. Invoking 'elogd -x' on the command line works fine, as well as 'elogd -install'. The option 'elogd -x -install' does not seem to be implemented, so I followed two ways to get this to work:
1) creating my own service with instsrv/srvany and registry editing: starting 'elogd -x' does not work (error 1053), the -D option has to be added, to start the service without time out. But then shell execution seems to be not working, because no input to the elog is generated, but also no message saying shell execution was not enabled!
2) using 'elogd -install' and modifying the registry entry by adding the -x option to the command line in the 'HKLM\System\CurrentControlSet\Services\elogd\ImagePath': This enables shell execution, but instead of piping the output to the logbook, some DOS boxes pop up executing the shell command and terminate. No entries are generated.
Has anyone an idea?
|
I could never get shell execution work when elogd is started as a service. This has probably to do with system permissions or so under Windows. If anybody has a clue, please let me know. Under Linux this works nicely, but this is probably not an option for you... |
66901
|
Wed Sep 15 00:21:10 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.7.6-2230 | Re: SQL Database |
lance wrote: |
We have been running elog for a few years now and its solid. The only thing is we are getting to 140k entries over a few books and its starting to slow down whist searching. My questions is can we go to an SQL type database rather than a flat file? Is it worth it? Is anyone running this type of configuration?
|
Running through a SQL database requires a major rework of the software. I'm planning this in the long run, but not for this year. I'm also not sure how much this would buy you. If you do a full-text search on 140k entries in a SQL database (not index search), this might also take some time.
But what you can do is to "archive" part of your logbooks. Since the files are named YYMMDDa.log, you can move all 09XXXXXa.log files into a separate "archive" which you then do not include in your search. |
66903
|
Wed Sep 15 01:02:26 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | V2.8.0-231 | Re: how to convert Common Era (C.E.) into Buddhist Era |
phichitpon wrote: |
how to convert Common Era (C.E.) into Buddhist Era such as C.E. 2010 to B.E. 2553 (2553=2010+543) .thank you
|
Uh, thank you for teaching me that something like B.E. exists. I didn't know before. Unfortunately elog relied on the underlying operating system date functions. I guess you have to convince Windows or Linux to switch to B.E., then elog will do as well. |
66905
|
Wed Sep 15 01:25:27 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | ELOG V2.8 | Re: how to change char encode for Text column |
phichitpon wrote: |
hello
how to change char encode for Text column. my language is thai and use tis-620 for encode. thankyou
|
Just use the charset = xxx option in the configuration file. |
66907
|
Wed Sep 15 22:40:52 2010 |
| Mike Zuber | mdz0739@yahoo.com | Question | Windows | 2.8 | Action after message submission |
Is it possible to automatically go back to the list view in summary mode after submitting a new message instead of displaying the new message?
I know it's possible to display a page from a file after submitting a new message by using "Submit Page = <file>".
It would be nice to be able to use a command like "Submit Page = <command>" where I could insert "?cmd=Back" as in the "Start page" command.
Thanks,
Mike |
66908
|
Fri Sep 17 00:59:16 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.8 | Re: Action after message submission |
Mike Zuber wrote: |
Is it possible to automatically go back to the list view in summary mode after submitting a new message instead of displaying the new message?
I know it's possible to display a page from a file after submitting a new message by using "Submit Page = <file>".
It would be nice to be able to use a command like "Submit Page = <command>" where I could insert "?cmd=Back" as in the "Start page" command.
Thanks,
Mike
|
I just implemented a new flag "List after submit = 1" which does exactly this. It brings you to the summary page after the submission of a new entry. I needed the function myself. The change is SVN revision 2327 and will be contained in the next release. |
66913
|
Wed Sep 22 14:30:53 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | V2.8.0-231 | Re: Error Message in "Demo of database-like elog" |
Robert Heine wrote: |
Stefan Ritt wrote: |
mike cianci wrote: |
I attempted to remove the text editor (like you did in "Demo of database-like elog") using "Show text = 0".
In both your Demo and my logbook when you hit "New" - Explorer generates the folowing error message
Error: The Textarea with id or name set to "text" was not found.
Is there a solution or do we just live with it.
Thanks, Mike
|
Thanks for reporting that bug. I fixed it in SVN revision 2188, and the fix will be contained in the next release.
|
I am getting the same message in the current version (V2.8.0-2312), if the "Preset text" text body contains the equal sign '='. Then this message pops up and the HTML-editor dosn't show its menu bars, with the elog- or plain text editor this does not happen. It happens as well with firefox as with internet explorer.
best regards
Robert
|
I found a bug there, but am not 100% sure if it fixed your problem. Can you please try the current SVN version 2331? I made a new intermediate release elog280-4.exe for you. |