logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicko Cadell" <ni...@neoworks.com>
Subject RE: Having trouble connecting to the Telnet Appender
Date Thu, 21 Jul 2005 10:56:39 GMT
It seems likely that the TelnetAppender is not being configured
correctly. Have you set up any other appenders? Are they working?
You can enable internal log4net debugging which will display any errors
http://logging.apache.org/log4net/release/faq.html#internalDebug


> -----Original Message-----
> From: Bloom, Joshua (CASE) [mailto:Joshua.Bloom@VOLPE.DOT.GOV] 
> Sent: 13 July 2005 17:56
> To: 'log4net-user@logging.apache.org'
> Subject: Having trouble connecting to the Telnet Appender
> 
> Hello,
> 
> I am attempting to connect to a local Telnet Appender and 
> receiving this message from my Telnet client
> 
> "Connecting To localhost...Could not open connection to the 
> host, on port 23
> : Connect failed"
> 
> I have tried localhost, 127.0.0.1 and my full IP. I always 
> get the same error.
> 
> Environment: WinXP Pro, .Net v1.1.4322 and Log4Net 1.2.9.0 
> Telnet Appender Settings:
> <appender name="TelnetAppender" 
> type="log4net.Appender.TelnetAppender" >
> 	<port value="23" />
> 	<layout type="log4net.Layout.PatternLayout">
> 		<conversionPattern value="%date [%thread] 
> %-5level %logger [%ndc] - %message%newline" />
> 	</layout>
> </appender>
> 
> I started up the standard XP telnet Server and am able to 
> connect just fine to that. 
> 
> Does anyone have any suggestions where to look?
> Is there a certain point in the log4net telnet server cycle 
> where I need to connect, or is it always waiting for a connection?
> 
> Thanks,
> Joshua Bloom
> 

Mime
View raw message