Recently, I realized, that triggering logging-functions 
(e.g. LogFatal()) could end the program.

I think this is wrong.

One can argue that it is alright to exit a program from 
a function in contrast to only allow this from main().
But I'm pretty sure that there aren't many projects around where this is
happening from a "logger" function.

Personally, I would vote for a single place where all necessary steps
are taken for ganesha to end.
Which is preferably only called from main().

What are the thoughts on this ?

Cheers Swen


------------------------------------------------------------------------------
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to