TCP Appender not working

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
SE
Reply | Threaded
Open this post in threaded view
|

TCP Appender not working

SE
Hi,
according to earlier posts similar things happen from time to time but my case differs slightly in the language I'm calling from:
- I'm calling log4NET from LabVIEW
- I'm using (for evaluation) file appender, UDP-appender, (prosa)TCP-Appender
- file appender works
- UDP appender works (also over LAN)
-> The two points above make me think the integration can't be too bad...
- TCP-Appender does not work, neither locally nor via LAN when fed from my integration
but:
- TCP-Appender works locally and over LAN when fed by LogEmiter.exe
- prosa.logappender.dll version 11.2.502.172
- Log4net.dll version 1.2.13.0 used by my integration, sitting next to my "Log4NET log.vi"
- Log4net.dll version 1.2.15.0 used by LogEmiter.exe, sitting next to "LogEmiter.exe"

My config:
...
<appender name="TcpAppender1" type="prosa.LogAppender.TcpAppender, prosa.LogAppender">
       
        <layout type="log4net.Layout.XmlLayout" />
</appender>
...
      <appender-ref ref="TcpAppender1" />
...

LogEmiter.exe config:
...
<appender name="TcpAppender" type="prosa.LogAppender.TcpAppender, prosa.LogAppender">
     
      <layout type="log4net.Layout.XmlLayout"/>
</appender>
...
      <appender-ref ref="TcpAppender"/>
...

I guess the reason might be the version mismatch.
But no, I can't just compile the appender.

Are there appenders available for various Log4NET versions?
SE
Reply | Threaded
Open this post in threaded view
|

Re: TCP Appender not working

SE
... yes, it was the versions.
Had to use another log4net.dll instead of recompiling the appender.
Reply | Threaded
Open this post in threaded view
|

Re: TCP Appender not working

Philipp Lauchner
Administrator
Dear SE,

thank you for letting us know the solution.

Yours sincerely

Philipp Lauchner
PROSA GmbH  
Development & Support