I have written a logger that uses log4j. I have to use DOMConfigurator to put my config files in xml. Can you please describe the functionality of DOMConfigurator and how it can be implemented? Can anyone give me a sample code which I can run on my system to find this functionality?