I am trying to configure log4net for an application.
System.IO.FileInfo fi = new System.IO.FileInfo("some junk file name");
log4net.Config.XmlConfigurator.Configure(fi);
log4net.Config.XmlConfigurator.ConfigureAndWatch(fi);
I got surprised, when above code is not throwing any exception !!!!
when file doesn't exists , why log4net is not throwing any exception ? Isn't it bad design ? Is there any reason behind designing such behaviour ??????
If it is not throwing any exception , how can i know, the file is parsed successful and working properly ?