[logback-user] Logback and Log4j plugins
Greg Flex
greg.flex at gmail.com
Tue Jan 13 20:23:29 CET 2009
Hi Guys,
I'm still trying to make a logback server talk to the log4cxx client.
I got it to work (with a lot of research done on-line and help of others)
with Log4j.
I used a plugin in my .xml file that sets the server up.
Here is an example of it:
<plugin name="XMLSocketReceiver" class="org.apache.log4j.net.
XMLSocketReceiver">
<param name="Port" value="7776"/>
</plugin>
I set my server's port to 7777, a value passed in as a parameter to the
main()
This port accepts all the connections coming from other log4j clients.
The plugin specifies port 7776 and it allows the communication coming
from the log4cxx clients to the server.
It all works just fine and I see both messages written to
the file. (using a rolling file appender)
I was wondering if there is a way to set the logback server in a similar
way.
(maybe use a plugin above? )
Any thoughts about this? Any suggestions?
Thanks
Greg.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://qos.ch/pipermail/logback-user/attachments/20090113/d74811b5/attachment.html
More information about the Logback-user
mailing list