You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by peter riegersperger <ri...@subnet.at> on 2002/08/14 14:05:40 UTC

Configuration question (WAS: A basic and genuine question)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> From: Shapira, Yoav [mailto:Yoav.Shapira@mpi.com]
[...]
> That typically means it's misconfigured.  Could it be you're
> calling BasicConfigurator.configure() before calling
> XMLConfigurator the first time?  Alternativaly, please post your
> configuration file and
> initialization code and we'll be able to help more.

a little policy-question here:
i'm using log4j-configuration exactly that way (calling
BasicConfigurator.configure() and then
XMLConfigurator to read the config file) to ensure that logging is at
least configured and in case something goes wrong with the config
file (not found, for example) i can log a fatal message.

i've used it this way for several projects, and never had any adverse
effects, but the way you state this in your mail makes it look as if
it was an incorrect usage of log4j-configuration.

could someone please comment on this?

thanks,

rick


|-
| peter riegersperger  <ri...@subnet.at>
|-
| subnet
| platform for media art and experimental technologies
|-
| http://www.subnet.at/
|-
| muehlbacherhofweg 5 // 5020 salzburg // austria
|-
| fon/fax +43/662/842 897
|-

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
Comment: public key available at http://home.subnet.at/rick/pgp/

iQA/AwUBPVo5hSDD9/SWDsvSEQKQdQCgr/xJEPhibdSvgoVjpl9RVwp6Gj8AoKwA
2ZXMR5mEC6YwOUnybdNVHTRz
=68LX
-----END PGP SIGNATURE-----


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>