// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
import java.io.FileInputStream;
import java.util.logging.LogManager;
import java.util.logging.Logger;

public class MultiLog {
    public static void main(String[] args) throws Exception {
        LogManager.getLogManager().readConfiguration(new FileInputStream("C:\\log.properties"));
        Logger log = Logger.getLogger(MultiLog.class.getName());
        log.info("This is info");
        log.severe("This is severe");
    }
}
