The way I usually get this working is by changing the project output type to be 
a console app in debug mode and in release mode I've it as windows app. And 
then u can use a console appender.

Cheers John

On 21/09/2009, at 8:42 PM, Daniel Hölbling <[email protected]> wrote:

Hi guys,
I'm currently working an a HTTPHandler and I need logging.
I've used the LoggingFacility on Winforms projects before and it worked fine 
(the setup side of things is done already).

Where I'm currently stuck is on how to make the log messages appear inside 
Visual Studio while developing. I could configure some rolling-file appender 
through Log4Net, but since I need the logging primarily while development and 
will probably turn it off in production, I'd really like to simply see the 
output inside Visual Studio and be done with it.

So far I tried the Trace, Web, Console and Diagnostics LoggerImplementations 
and none of my log messages ever showed up in my debug output window. 

My current setup looks like this:

var container = new WindsorContainer(new XmlInterpreter(new 
ConfigResource("ioc")));
            var facility = new LoggingFacility(LoggerImplementation.Console);
            container.AddFacility("logging", facility);

greetings Daniel





      
__________________________________________________________________________________
Get more done like never before with Yahoo!7 Mail.
Learn more: http://au.overview.mail.yahoo.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to