Hey Ellie!!! Thank you so much!!!. It hadn't occurred to me!!. With signals, that's nice!!. hadn't thought about it!!!. Extremely thankful for the idea...
Perhaps I will use two different signals like USR2 and USR3 for instance which I don't use for nothing else... USR2 will enable verbosity and USR3 with disable it :) :) Thank you so much really!!! haven't noticed about it!! That's nice!! Cheers!!! --- EGOITZ AURREKOETXEA Dpto. de sistemas 944 209 470 [email protected] www.sarenet.es [6] Parque Tecnológico. Edificio 103 48170 Zamudio (Bizkaia) Antes de imprimir este correo electrónico piense si es necesario hacerlo. El 2022-07-08 01:49, ellie timoney escribió: > ATENCIÓN: este correo se ha enviado desde fuera de la organización. No pinche > en los enlaces ni abra los adjuntos a no ser que reconozca el remitente y > sepa que el contenido es seguro. > > Hi egoitz, > > On Wed, 6 Jul 2022, at 3:40 AM, egoitz via Info wrote: > >> One question. I have seen that have been able to see info needed for >> debugging this by launching master with -v or -vv. I would not like to have >> launched that way master, because it could take months for this to >> reproduce. I need that a user to disconnect it's sessions and to have >> several ones for disconnect. Does exist some way, of enabling that verbosity >> when you know you are "near" to need it, because you suspect the bug is >> going to happen again?. Or... how could I achieve for enabling verbosity >> when I need it?. I think I don't get that verbosity info when using debug:1 >> in imapd.conf... so HUP signal is discarded.... > > Perhaps you could use something like the attached patch. This changes > master's verbosity each time it receives a SIGHUP -- it will cycle through 0, > 1, 2, 3, then go back to 0 and cycle through again (-vvv is the highest > verbosity that has any additional effect). > > With something like this, you could wait for the problem to reproduce, then > send master SIGHUPs to increase the verbosity as desired, see the extra log > output, then send further SIGHUPs to cycle it back to zero when you're done. > > The patch is just an example, you could do whatever you wanted here... maybe > make it just alternate between 0 and whichever value is useful to you, so you > only need one SIGHUP to make it verbose and another to put it back to normal. > > Of course, this all depends on you mostly not using SIGHUP to reread > configuration in the usual way, since doing that would now have the side > effect of changing the verbosity too. > > Cheers, > > ellie > CYRUS [1] / Info / see discussions [2] + participants [3] + delivery options > [4] Permalink [5] > > ATENCIÓN: este correo se ha enviado desde fuera de la organización. No pinche > en los enlaces ni abra los adjuntos a no ser que reconozca el remitente y > sepa que el contenido es seguro. Links: ------ [1] https://cyrus.topicbox.com/latest [2] https://cyrus.topicbox.com/groups/info [3] https://cyrus.topicbox.com/groups/info/members [4] https://cyrus.topicbox.com/groups/info/subscription [5] https://cyrus.topicbox.com/groups/info/Td155a4c12885169a-M4c4d4bd1b48baec75010a6bc [6] http://www.sarenet.es ------------------------------------------ Cyrus: Info Permalink: https://cyrus.topicbox.com/groups/info/Td155a4c12885169a-Mcbbe993ea9ec6384404639be Delivery options: https://cyrus.topicbox.com/groups/info/subscription
master-sighup-verbose.patch
Description: Binary data
