[lvm-devel] master - dev-type: print log_sys_debug

Alasdair G Kergon agk at redhat.com
Fri Jul 4 23:42:18 UTC 2014


On Fri, Jul 04, 2014 at 10:15:27PM +0200, Zdenek Kabelac wrote:
> If we would left log_error() as is - then 'error' usage is already marked,
> and the 'real' error might not be actually printed (forgotten to be added 
> to the code) - thus user could get misleading idea what's been the real 
> reason for error.

That doesn't concern me, as we consider the likelihood of the first non-fatal
error should be rare enough already - it's not important if the "less-important"
error code is the one returned should there be a further error later on: all
errors should be investigated in that case.

Alasdair




More information about the lvm-devel mailing list