Re: logging services with shell interaction

2023-06-23 Thread Casper Ti. Vector
On Fri, Jun 23, 2023 at 01:48:53PM +0200, Ben Franksen wrote: > thanks for the heads-up; this is certainly an interesting project, but for > me to start playing with it only makes sense if and when it has matured to > the point where there is a minimum of documentation (-h/--help or something >

Re: logging services with shell interaction

2023-06-23 Thread Ben Franksen
Hi Caspar thanks for the heads-up; this is certainly an interesting project, but for me to start playing with it only makes sense if and when it has matured to the point where there is a minimum of documentation (-h/--help or something like that) and ideally some sort of revision control,

Re: logging services with shell interaction

2023-06-22 Thread Casper Ti. Vector
On Thu, Oct 21, 2021 at 02:01:29AM +0800, Casper Ti. Vector wrote: > As has been said by Laurent, in the presence of a supervision system > with reliable logging and proper rotation, what `procServ' mainly does > can be done better by something like `socat' which wraps something like > `recordio',

Re: logging services with shell interaction

2022-04-22 Thread Casper Ti. Vector
On Sun, Oct 24, 2021 at 10:36:06PM +0200, Ben Franksen wrote: > I am looking forward to it. You may want to post a link when it's > done, here or on the EPICS mailing list. The paper has been published on JSR, and is now available at

Re: logging services with shell interaction

2021-10-24 Thread Ben Franksen
Am 23.10.21 um 18:40 schrieb Casper Ti. Vector: On Sat, Oct 23, 2021 at 05:48:23PM +0200, Ben Franksen wrote: I agree. BTW, another detail is the special handling of certain control characters by procServ: ^X to restart the child, ^T to toggle auto-restart, and the possibility to disable some

Re: logging services with shell interaction

2021-10-23 Thread Casper Ti. Vector
On Sat, Oct 23, 2021 at 05:48:23PM +0200, Ben Franksen wrote: > Interesting, I didn't know you are from the accelerator community! (Actually I have only been in this field for 2.5 years...) > I agree. BTW, another detail is the special handling of certain control > characters by procServ: ^X to

Re: logging services with shell interaction

2021-10-23 Thread Ben Franksen
Hi Casper Am 20.10.21 um 20:01 schrieb Casper Ti. Vector: On Wed, Oct 20, 2021 at 09:53:58AM +0200, Ben Franksen wrote: Interesting, I didn't know about recordio, will take a look. Hello from a fellow sufferer from EPICS. (If you see a paper on some synchrotron-related journal in a few

Re: logging services with shell interaction

2021-10-20 Thread Casper Ti. Vector
On Wed, Oct 20, 2021 at 09:53:58AM +0200, Ben Franksen wrote: > Interesting, I didn't know about recordio, will take a look. Hello from a fellow sufferer from EPICS. (If you see a paper on some synchrotron-related journal in a few months that mentions "automation of automation", it will be from

Re: logging services with shell interaction

2021-10-20 Thread Ben Franksen
Am 20.10.21 um 01:27 schrieb Laurent Bercot: we have a fair number of services which allow (and occasionally require) user interaction via a (built-in) shell. All the shell interaction is supposed to be logged, in addition to all the messages that are issued spontaneously by the process. So we

Re: logging services with shell interaction

2021-10-19 Thread Laurent Bercot
we have a fair number of services which allow (and occasionally require) user interaction via a (built-in) shell. All the shell interaction is supposed to be logged, in addition to all the messages that are issued spontaneously by the process. So we cannot directly use a logger attached to the

logging services with shell interaction

2021-10-19 Thread Ben Franksen
Hi Everyone we have a fair number of services which allow (and occasionally require) user interaction via a (built-in) shell. All the shell interaction is supposed to be logged, in addition to all the messages that are issued spontaneously by the process. So we cannot directly use a logger