logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Schöning <tschoen...@am-soft.de>
Subject Re: Directing windows logging data to the active app console
Date Wed, 26 Feb 2014 16:59:38 GMT
Guten Tag Lucas Vickers,
am Mittwoch, 26. Februar 2014 um 17:53 schrieben Sie:

> I'm using LOG4CXX in a Microsoft application, and I'm
> unable to get access to the output via the standard application
> console.  In Unix and OS X environments, stdout is sufficient.  I
> know it's different in MS, so I was hoping someone knew what appender I should be using.

STDOUT etc. are available under Windows as well, there shouldn't be
any difference. But if you have a GUI application, main vs. _wmain or
WinMain or stuff, there's simply no console which can show your
messages, but that has nothing to do with Log4cxx and it can't
influence this. At least form my knowledge. :-) So if you are missing
a console, you need to create one using AllocConsole or such on your
own.

http://msdn.microsoft.com/en-us/library/windows/desktop/ms682528(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/ms681944(v=vs.85).aspx

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail:Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow


Mime
View raw message