There have been multiple requests for an appender that would use Win32's OutputDebugString API (I assume Win64 has the same API).
The following message contains an implementation:
The submitted implementation is called Win32ODSAppender. Log4j does not have an equivalent appender, however log4net does and it is called OutputDebugStringAppender. The submitted implementation has a personal copyright which is not the same name as the submitter.