#5379 (The socket file of the Lino logger (log_sock_path) is sometimes wrong)
by Luc Saffre · in Developers · assigned to Luc Saffre
Kurzbeschreibung
Kinder
Kommentare
- 2 Jahre, 9 Monate ago von Luc Saffre about #5379 (The socket file of the Lino logger (log_sock_path) is sometimes wrong) : The lino.log on Jane this morning showed that this issue is resolved now.
- 2 Jahre, 9 Monate ago von Luc Saffre about #5379 (The socket file of the Lino logger (log_sock_path) is sometimes wrong) : Manual tests looked promising. I will release these changes soon.
- 2 Jahre, 9 Monate ago von Luc Saffre about #5379 (The socket file of the Lino logger (log_sock_path) is sometimes wrong) : @8lurry do you know why do we specify stopsignal = QUIT in the UWSGI_SUPERVISOR_CONF in getlino? (I think that we don't use UWSGI any more, but I saw this now and wonder why.)
- 2 Jahre, 9 Monate ago von Luc Saffre about #5379 (The socket file of the Lino logger (log_sock_path) is sometimes wrong) : We cannot register a signal handler in the consumer because this can be done only in the main thread. Anyway we should generalize the shutdown and the stopsignal.
- 2 Jahre, 9 Monate ago von Luc Saffre about #5379 (The socket file of the Lino logger (log_sock_path) is sometimes wrong) : After some hours of sleep I think that we don't want [url pypi.org/project/safe-exit safe-exit], we rather want to catch a single signal, name the signal used by supervisor to stop the process.
- 2 Jahre, 9 Monate ago von Luc Saffre about #5379 (The socket file of the Lino logger (log_sock_path) is sometimes wrong) : I currently have a variant with a few changes: site.setup_logging() is simplified: when a logger socket file exists, use SocketHandler, otherwise use FileHandler. The linod command works (again) when use_channels is False. I added documentation in [url dev.lino-framework.org/plugins/linod.html]. TOD...
- 2 Jahre, 9 Monate ago von Luc Saffre about #5379 (The socket file of the Lino logger (log_sock_path) is sometimes wrong) : Seems that socket files are usually left there when the process stops, and common practice is to remove them before the next process starts. But our use case is more complex.
- 2 Jahre, 9 Monate ago von Luc Saffre about #5379 (The socket file of the Lino logger (log_sock_path) is sometimes wrong) : This might be the explanation why I sometimes observed strange things when watching the lino.og for Jane.
- 2 Jahre, 9 Monate ago von Luc Saffre about #5379 (The socket file of the Lino logger (log_sock_path) is sometimes wrong) : Created new Ticket #5379 (The socket file of the Lino logger (log_sock_path) is sometimes wrong).