Hi all!
I were posted my problem but not solved! I read article:
http://wiki.jboss.org/wiki/Wiki.jsp?page=Log4jSocketServer
I were configured JBoss Server inside conf/jboss-service.xml.
So, on the client side, I not need add log4j.xml and I can edit file log4j.xml inside
conf/log4j.xml ?
<appender name="MY_SOCKET"
class="org.apache.log4j.net.SocketAppender">
| <!--<param name="Port" value="18770"/>.-->
| <param name="Port" value="15000"/>
| <param name="RemoteHost" value="mymachine"/>
| <param name="ReconnectionDelay" value="30000"/>
| <param name="Threshold" value="INFO"/>
| </appender>
But when I restart JBoss server, I received some errors:
anonymous wrote : log4j:ERROR Could not connect to remote log4j server at
[
pc6.duongtadi.com]. We
| will try again later.
| java.net.ConnectException: Connection refused: connect
Please guid to me.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083334#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...