If I add a config file named "Rhino.ServiceBus.Host.exe.config" and configures logging it works with the latest source.
This however means, that we need to configure logging twice: Once for our service appdomain and once for the host executable. Would it be useful for the appdomain host (I guess it is the DefaultHost class) to make sure all exceptions are logged within the appdomain before letting the exception escape to the main appdomain? If we can agree on some concept and where to implement it, I can implement the fix and submit a pull request. René On Saturday, 20 April 2013 00:40:03 UTC+2, Corey wrote: > > I've pushed up a fix. Unfortunately I fixed one issue and regressed on > another. Not sure why I didn't notice the failing tests... I haven't pushed > nugets and probably won't for another week or two. Let me know if the > latest helps your problem. > > On Friday, April 19, 2013 12:21:48 AM UTC-6, René M. Andersen wrote: >> >> We are having some trouble getting exceptions logged, which happens in >> the startup phase of the Rhino Service Bus when using the >> Rhino.ServiceBus.Host.exe to host our service. The issue was found in >> 2.3.4 and 3.0.0. >> >> The problem seems to be that logging is never initialized in the main >> appdomain which hosts the remote appdomain with our service. Exceptions >> thrown during startup is caught and attempted to be logged in the following >> method in RhinoServiceBusHost.cs: >> >> protected override void OnStart(string[] ignored). >> >> >> But since the logging framework is not initalized, valueable debugging >> infomation gets lost. >> >> Any suggestions on work arounds or can it be fixed so that logging is >> initialized? >> >> Regards >> >> René >> > -- You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
