log4net: config file [C:\Program Files (x86)\CE\MyProgram\app.config] not found
The config file was NOT found On 7 April 2015 at 20:47, DeveloperM <mfriedent...@netzero.com> wrote: > Thanks for the suggestion, Pascal. I did that and this is what was written > to > the Console: > > log4net: log4net assembly [log4net, Version=1.2.13.0, Culture=neutral, > PublicKey > Token=669e0ddf0bb1aa2a]. Loaded from [C:\Program Files > (x86)\CE\CRMEDIFileGenera > tor\log4net.dll]. (.NET Runtime [4.0.30319.18444] on Microsoft Windows NT > 6.1.76 > 01 Service Pack 1) > log4net: defaultRepositoryType [log4net.Repository.Hierarchy.Hierarchy] > log4net: Creating repository for assembly [MyProgram, Version=1.0.0.0, > Culture=neutral, PublicKeyToken=null] > log4net: Assembly [MyProgram, Version=1.0.0.0, Culture=neutral, Public > KeyToken=null] Loaded From [C:\Program Files (x86)\CE\MyProgram\CRMEDI > FileGenerator.exe] > log4net: Assembly [MyProgram, Version=1.0.0.0, Culture=neutral, Public > KeyToken=null] does not have a RepositoryAttribute specified. > log4net: Assembly [MyProgram, Version=1.0.0.0, Culture=neutral, Public > KeyToken=null] using repository [log4net-default-repository] and repository > type > [log4net.Repository.Hierarchy.Hierarchy] > log4net: Creating repository [log4net-default-repository] using type > [log4net.Re > pository.Hierarchy.Hierarchy] > log4net: configuring repository [log4net-default-repository] using file > [C:\Prog > ram Files (x86)\CE\MyProgram\app.config] watching for file updates > log4net: configuring repository [log4net-default-repository] using file > [C:\Prog > ram Files (x86)\CE\MyProgram\app.config] > log4net: config file [C:\Program Files (x86)\CE\MyProgram\app.config] > not found. Configuration unchanged. > > > Can you help me interpret this? Certainly the app.config file was found; > the correct CRM db connection is made and data is correctly returned from > the instance I set in that config file. > > > > > -- > View this message in context: > http://apache-logging.6191.n7.nabble.com/Logging-works-in-VS-but-not-when-deployed-tp54506p54514.html > Sent from the Log4net - Users mailing list archive at Nabble.com. >