Quantcast
Channel: Clog: Client Logging for .NET
Viewing all articles
Browse latest Browse all 30

New Post: binary for current log4net release?

$
0
0
The latest download I could find for Clog is 1.11... I did download the current source, not sure what exactly's changed but I was hoping it would reference the current version of log4net in case that's my issue, unfortunately the solution won't load a lot of the projects, so I'm not quite sure how to build this myself or verify if that is indeed the source of my problem.

I'm attempting to do client-side logging in a WPF app, and transmit the logs to a back end server that already uses log4net.

I'm pretty sure I have everything configured correctly, but I'm getting some errors, it's weird because they appear to be in ClientStrategy.cs (I'm not sure why it would be looking for log4net on the client side?):
Clog Error:Problem writing log to ILogStrategy DanielVaughan.Logging.LogStrategies.ClientStrategy
Clog Error: System.IO.FileNotFoundException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' or one of its dependencies. The system cannot find the file specified.
File name: 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821'
   at DanielVaughan.ServiceModel.ChannelManagerSingleton.GetChannel[TChannel]()
   at DanielVaughan.Logging.LogStrategies.ClientStrategy.GetConfigurationData(IClientInfo clientInfo) in D:\Calcium\Trunk\Source\Clog\Clog\Logging\LogStrategies\ClientStrategy.cs:line 31
   at DanielVaughan.Logging.LogStrategies.ClientStrategy.Write(IServerLogEntry logEntry) in D:\Calcium\Trunk\Source\Clog\Clog\Logging\LogStrategies\ClientStrategy.cs:line 69
   at DanielVaughan.Logging.Log.<>c__DisplayClass5.<WriteLogEntryAux>b__1(Object ) in D:\Calcium\Trunk\Source\Clog\Clog\Logging\Log.cs:line 344

=== Pre-bind state information ===
LOG: DisplayName = log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821
 (Fully-specified)
LOG: Appbase = file:///C:/Source/17.BearPaw.dev.Paul/Clients/Heavy/BearPaw.Client.Heavy/bin/Debug/
LOG: Initial PrivatePath = NULL
Calling assembly : DanielVaughan, Version=1.3.0.0, Culture=neutral, PublicKeyToken=f32f1bf552288cd5.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Source\17.BearPaw.dev.Paul\Clients\Heavy\BearPaw.Client.Heavy\bin\Debug\BearPaw.Client.Heavy.vshost.exe.Config
LOG: Using host configuration file: 
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821
LOG: Attempting download of new URL file:///C:/Source/17.BearPaw.dev.Paul/Clients/Heavy/BearPaw.Client.Heavy/bin/Debug/log4net.DLL.
LOG: Attempting download of new URL file:///C:/Source/17.BearPaw.dev.Paul/Clients/Heavy/BearPaw.Client.Heavy/bin/Debug/log4net/log4net.DLL.
LOG: Attempting download of new URL file:///C:/Source/17.BearPaw.dev.Paul/Clients/Heavy/BearPaw.Client.Heavy/bin/Debug/log4net.EXE.
LOG: Attempting download of new URL file:///C:/Source/17.BearPaw.dev.Paul/Clients/Heavy/BearPaw.Client.Heavy/bin/Debug/log4net/log4net.EXE.
 Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' or one of its dependencies. The system cannot find the file specified.    at DanielVaughan.ServiceModel.ChannelManagerSingleton.GetChannel[TChannel]()
   at DanielVaughan.Logging.LogStrategies.ClientStrategy.GetConfigurationData(IClientInfo clientInfo) in D:\Calcium\Trunk\Source\Clog\Clog\Logging\LogStrategies\ClientStrategy.cs:line 31
   at DanielVaughan.Logging.LogStrategies.ClientStrategy.Write(IServerLogEntry logEntry) in D:\Calcium\Trunk\Source\Clog\Clog\Logging\LogStrategies\ClientStrategy.cs:line 69
   at DanielVaughan.Logging.Log.<>c__DisplayClass5.<WriteLogEntryAux>b__1(Object ) in D:\Calcium\Trunk\Source\Clog\Clog\Logging\Log.cs:line 344

Viewing all articles
Browse latest Browse all 30

Latest Images

Trending Articles



Latest Images