isis-group / isis

The ISIS project aims to provide a framework to access a large variety of image processing libraries written in different programming languages and environments.
GNU General Public License v3.0
18 stars 14 forks source link

isis::Application ignores logger control parameter #21

Open rollwurst opened 13 years ago

rollwurst commented 13 years ago

Starting an IOApplication like './isisdump -dData error' has no effect at the logging level. The reason for this can be found in the Application:init method and the order in which parameter processing and application initialization are processed.

DerOrfa commented 13 years ago

The log-level parameter (obviosly) has no effekt on warnings which are issued before it is parsed.

Of course we could try to do the parsing ealier ...

But because the logging system is intentionally initialized before anything else (so everything can use it) this can not be completely avoided.