I'm an advocate for logging errors. In this respect a logging callback 
is preferred (as opposed to the current PLOG/SLOG thingy) so  logging 
can be integrated with an application's logging. I would advocate a 
commonly used logging system IF SUCH A SYSTEM EXISTED! I've been spoiled 
by log4j in the past, and unfortunately there hasn't been a satisfactory 
CXX port yet (although apache.org has a logging project it seems to have 
been static for a while).

Throwing exceptions is OK as long as its done well AND doesn't 
compromise performance (or, if it does, at least let me compile it 
away...). I can always catch them and log them.


I'm against using OpenSG's own logging solution (PLOG/SLOG) unless
a) it can be adapted to another system (e.g. if your app uses logging 
you'd like it to be integrated with OpenSG's logging), or
b) PLOG/SLOG can be used by another app as well (perhaps it can?). Some 
documentation would help, in this case. At a minimum it'd be useful to 
have logging configuration (i.e. to file, IP address, hierarchical 
nodes, etc).

Dan




Marcus Lindblom wrote:
> Hi,
>
> I've created a new web-page with some musings on error handling: 
> http://opensg.vrsource.org/trac/wiki/Dev/ErrorHandling
>
> You'll notice that I disagree with the current 
> keep-running-even-if-everything-is-wrong policy. I'd like to go beyond 
> of that and have a plan for something more robust than spewing warnings 
> in the log. Given that, I think could try to fix the error reporting in 
> the classes that give me headache.
>
> Comments?
>
> Cheers,
> /Marcus
>
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>
>   

-- 
Daniel J. Sperka
UC Davis Center for Neuroscience


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to