Re: [ovs-dev] [PATCH] ovs-thread: Log pthread failures.

2024-02-21 Thread Ilya Maximets
On 2/21/24 15:34, Eelco Chaudron wrote: > > > On 15 Feb 2024, at 13:00, Ilya Maximets wrote: > >> Currently, failures of pthread_* functions are printed to stderr >> only and then OVS aborts. These error messages are hard to find >> and may be even just lost. >> >> Use VLOG_ABORT() instead.

Re: [ovs-dev] [PATCH] ovs-thread: Log pthread failures.

2024-02-21 Thread Eelco Chaudron
On 15 Feb 2024, at 13:00, Ilya Maximets wrote: > Currently, failures of pthread_* functions are printed to stderr > only and then OVS aborts. These error messages are hard to find > and may be even just lost. > > Use VLOG_ABORT() instead. It will do the same thing, but will try > to log the

Re: [ovs-dev] [PATCH] ovs-thread: Log pthread failures.

2024-02-15 Thread Simon Horman
On Thu, Feb 15, 2024 at 01:00:05PM +0100, Ilya Maximets wrote: > Currently, failures of pthread_* functions are printed to stderr > only and then OVS aborts. These error messages are hard to find > and may be even just lost. > > Use VLOG_ABORT() instead. It will do the same thing, but will try

[ovs-dev] [PATCH] ovs-thread: Log pthread failures.

2024-02-15 Thread Ilya Maximets
Currently, failures of pthread_* functions are printed to stderr only and then OVS aborts. These error messages are hard to find and may be even just lost. Use VLOG_ABORT() instead. It will do the same thing, but will try to log the error to the log file and syslog first, if configured. Using