Re: can't get UDPAppender to work
thanks for you answer Rodney. i'm little lost with Java. i took PortBased.java , NetworkBased.java and UDPAppender.java from the svn and made 3 jars from them using: jar cf file.jar file.java i put the 3 jars in the lib folder of the jboss where log4j.lib is, but it didn't help. i also moved the appender section above the root element. am i in the right direction? should i create a jar with special names? 1 jar? 3 jars? i know its a little bit out of the scope here, but i really dont know where to go from here. Thanks, Roy. Rodney Beede-2 wrote: You will need additional jars in order to that appender with a Java application. http://logging.apache.org/log4j/companions/receivers/apidocs/org/apache/log4j/net/UDPAppender.html Note that there is also log4jnet which has this appender for .NET applications so don't confuse them. http://logging.apache.org/log4j/companions/receivers/apidocs/org/apache/log4j/net/UDPAppender.htmlThe log4j companions receiver package hasn't been released yet. You can get the source from http://svn.apache.org/repos/asf/logging/log4j/companions/receivers/trunk/ and build it yourself. I can't find any jars of it in any Maven repos. Additionally your UDP appender should probably be above the root element. On Mon, Feb 14, 2011 at 7:59 AM, rvarum r...@supportspace.com wrote: i think i did that. i attached a copy of the entire xml. http://old.nabble.com/file/p30922474/jboss-log4j.xml jboss-log4j.xml Rodney Beede-5 wrote: You probably forgot to add the appender to your root. A complete copy of your log4j.xml would help. On Mon, Feb 14, 2011 at 1:49 AM, rvarum r...@supportspace.com wrote: Hi all, i'm an automation developer with QTP (not java developer) i'm trying to configure the log4j of our application to broadcast the log messages through UDP protocol using the UDPAppender, so i can't catch and process log messages. the application uses log4j version 1.2.16. this is the appender configuration i'm using in the log4j xml conf: appender name=QtpUdpAppender class=org.apache.log4j.net.UDPAppender layout class=org.apache.log4j.xml.XMLLayout /layout /appender i used several tools and log4j consoles in order to listen to the UDP port on my machine. i'm getting nothing from the jboss on that port. we check all communication issues and there is there is open communication between the jboss machine and my machine through the specified UDP port. is there any special jar need for UDPAppender ? or special log4j version ? i'm quite in the dark here, and couldn't find lots of information about UDPAppender on the net. any help is appreciated. thanks, Roy. -- View this message in context: http://old.nabble.com/can%27t-get-UDPAppender-to-work-tp30919617p30919617.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org -- View this message in context: http://old.nabble.com/can%27t-get-UDPAppender-to-work-tp30919617p30922474.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org -- View this message in context: http://old.nabble.com/can%27t-get-UDPAppender-to-work-tp30919617p30932638.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org
Re: can't get UDPAppender to work
thanks for you answer Rodney. i'm little lost with Java. i took PortBased.java , NetworkBased.java and UDPAppender.java from the svn and made 3 jars from them using: jar cf file.jar file.java i put the 3 jars in the lib folder of the jboss where log4j.lib is, but it didn't help. i also moved the appender section above the root element. am i in the right direction? should i create a jar with special names? 1 jar? 3 jars? i know its a little bit out of the scope here, but i really dont know where to go from here. Thanks, Roy. P.S. - sorry everyone for the duplicated post. Rodney Beede-5 wrote: You will need additional jars in order to that appender with a Java application. http://logging.apache.org/log4j/companions/receivers/apidocs/org/apache/log4j/net/UDPAppender.html Note that there is also log4jnet which has this appender for .NET applications so don't confuse them. http://logging.apache.org/log4j/companions/receivers/apidocs/org/apache/log4j/net/UDPAppender.htmlThe log4j companions receiver package hasn't been released yet. You can get the source from http://svn.apache.org/repos/asf/logging/log4j/companions/receivers/trunk/ and build it yourself. I can't find any jars of it in any Maven repos. Additionally your UDP appender should probably be above the root element. On Mon, Feb 14, 2011 at 7:59 AM, rvarum r...@supportspace.com wrote: i think i did that. i attached a copy of the entire xml. http://old.nabble.com/file/p30922474/jboss-log4j.xml jboss-log4j.xml Rodney Beede-5 wrote: You probably forgot to add the appender to your root. A complete copy of your log4j.xml would help. On Mon, Feb 14, 2011 at 1:49 AM, rvarum r...@supportspace.com wrote: Hi all, i'm an automation developer with QTP (not java developer) i'm trying to configure the log4j of our application to broadcast the log messages through UDP protocol using the UDPAppender, so i can't catch and process log messages. the application uses log4j version 1.2.16. this is the appender configuration i'm using in the log4j xml conf: appender name=QtpUdpAppender class=org.apache.log4j.net.UDPAppender layout class=org.apache.log4j.xml.XMLLayout /layout /appender i used several tools and log4j consoles in order to listen to the UDP port on my machine. i'm getting nothing from the jboss on that port. we check all communication issues and there is there is open communication between the jboss machine and my machine through the specified UDP port. is there any special jar need for UDPAppender ? or special log4j version ? i'm quite in the dark here, and couldn't find lots of information about UDPAppender on the net. any help is appreciated. thanks, Roy. -- View this message in context: http://old.nabble.com/can%27t-get-UDPAppender-to-work-tp30919617p30919617.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org -- View this message in context: http://old.nabble.com/can%27t-get-UDPAppender-to-work-tp30919617p30922474.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org -- View this message in context: http://old.nabble.com/can%27t-get-UDPAppender-to-work-tp30919617p30932643.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org
Re: can't get UDPAppender to work
You will have to compile all the code and create a jar with the compiled code. All the correct paths inside the jar also need to be included. If you aren't familiar with using Java to compile code you may need to find a Java developer to do so for you. The project uses maven so you could build it yourself. Download Maven. Download Java JDK. Put the bin/ directories for both in your path at a command prompt. svn co http://svn.apache.org/viewvc/logging/log4j/companions/receivers/trunk/ cd trunk/ mvn clean package If you're lucky then look in the trunk/target folder for the needed jar. This project just seems abandoned so it may not even work. On Tue, Feb 15, 2011 at 9:35 AM, rvarum r...@supportspace.com wrote: thanks for you answer Rodney. i'm little lost with Java. i took PortBased.java , NetworkBased.java and UDPAppender.java from the svn and made 3 jars from them using: jar cf file.jar file.java i put the 3 jars in the lib folder of the jboss where log4j.lib is, but it didn't help. i also moved the appender section above the root element. am i in the right direction? should i create a jar with special names? 1 jar? 3 jars? i know its a little bit out of the scope here, but i really dont know where to go from here. Thanks, Roy. P.S. - sorry everyone for the duplicated post. Rodney Beede-5 wrote: You will need additional jars in order to that appender with a Java application. http://logging.apache.org/log4j/companions/receivers/apidocs/org/apache/log4j/net/UDPAppender.html Note that there is also log4jnet which has this appender for .NET applications so don't confuse them. http://logging.apache.org/log4j/companions/receivers/apidocs/org/apache/log4j/net/UDPAppender.html The log4j companions receiver package hasn't been released yet. You can get the source from http://svn.apache.org/repos/asf/logging/log4j/companions/receivers/trunk/ and build it yourself. I can't find any jars of it in any Maven repos. Additionally your UDP appender should probably be above the root element. On Mon, Feb 14, 2011 at 7:59 AM, rvarum r...@supportspace.com wrote: i think i did that. i attached a copy of the entire xml. http://old.nabble.com/file/p30922474/jboss-log4j.xml jboss-log4j.xml Rodney Beede-5 wrote: You probably forgot to add the appender to your root. A complete copy of your log4j.xml would help. On Mon, Feb 14, 2011 at 1:49 AM, rvarum r...@supportspace.com wrote: Hi all, i'm an automation developer with QTP (not java developer) i'm trying to configure the log4j of our application to broadcast the log messages through UDP protocol using the UDPAppender, so i can't catch and process log messages. the application uses log4j version 1.2.16. this is the appender configuration i'm using in the log4j xml conf: appender name=QtpUdpAppender class=org.apache.log4j.net.UDPAppender layout class=org.apache.log4j.xml.XMLLayout /layout /appender i used several tools and log4j consoles in order to listen to the UDP port on my machine. i'm getting nothing from the jboss on that port. we check all communication issues and there is there is open communication between the jboss machine and my machine through the specified UDP port. is there any special jar need for UDPAppender ? or special log4j version ? i'm quite in the dark here, and couldn't find lots of information about UDPAppender on the net. any help is appreciated. thanks, Roy. -- View this message in context: http://old.nabble.com/can%27t-get-UDPAppender-to-work-tp30919617p30919617.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org -- View this message in context: http://old.nabble.com/can%27t-get-UDPAppender-to-work-tp30919617p30922474.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org -- View this message in context: http://old.nabble.com/can%27t-get-UDPAppender-to-work-tp30919617p30932643.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org
Re: can't get UDPAppender to work
It's not abandoned, the receivers companion is terribly overdue for a release. Chainsaw is also terribly overdue for a release, and relies on the receivers companion. Hopefully both will be released soon.. Scott On Tue, Feb 15, 2011 at 10:02 AM, Rodney Beede mailingl...@rodneybeede.comwrote: You will have to compile all the code and create a jar with the compiled code. All the correct paths inside the jar also need to be included. If you aren't familiar with using Java to compile code you may need to find a Java developer to do so for you. The project uses maven so you could build it yourself. Download Maven. Download Java JDK. Put the bin/ directories for both in your path at a command prompt. svn co http://svn.apache.org/viewvc/logging/log4j/companions/receivers/trunk/ cd trunk/ mvn clean package If you're lucky then look in the trunk/target folder for the needed jar. This project just seems abandoned so it may not even work. On Tue, Feb 15, 2011 at 9:35 AM, rvarum r...@supportspace.com wrote: thanks for you answer Rodney. i'm little lost with Java. i took PortBased.java , NetworkBased.java and UDPAppender.java from the svn and made 3 jars from them using: jar cf file.jar file.java i put the 3 jars in the lib folder of the jboss where log4j.lib is, but it didn't help. i also moved the appender section above the root element. am i in the right direction? should i create a jar with special names? 1 jar? 3 jars? i know its a little bit out of the scope here, but i really dont know where to go from here. Thanks, Roy. P.S. - sorry everyone for the duplicated post. Rodney Beede-5 wrote: You will need additional jars in order to that appender with a Java application. http://logging.apache.org/log4j/companions/receivers/apidocs/org/apache/log4j/net/UDPAppender.html Note that there is also log4jnet which has this appender for .NET applications so don't confuse them. http://logging.apache.org/log4j/companions/receivers/apidocs/org/apache/log4j/net/UDPAppender.html The log4j companions receiver package hasn't been released yet. You can get the source from http://svn.apache.org/repos/asf/logging/log4j/companions/receivers/trunk/ and build it yourself. I can't find any jars of it in any Maven repos. Additionally your UDP appender should probably be above the root element. On Mon, Feb 14, 2011 at 7:59 AM, rvarum r...@supportspace.com wrote: i think i did that. i attached a copy of the entire xml. http://old.nabble.com/file/p30922474/jboss-log4j.xml jboss-log4j.xml Rodney Beede-5 wrote: You probably forgot to add the appender to your root. A complete copy of your log4j.xml would help. On Mon, Feb 14, 2011 at 1:49 AM, rvarum r...@supportspace.com wrote: Hi all, i'm an automation developer with QTP (not java developer) i'm trying to configure the log4j of our application to broadcast the log messages through UDP protocol using the UDPAppender, so i can't catch and process log messages. the application uses log4j version 1.2.16. this is the appender configuration i'm using in the log4j xml conf: appender name=QtpUdpAppender class=org.apache.log4j.net.UDPAppender layout class=org.apache.log4j.xml.XMLLayout /layout /appender i used several tools and log4j consoles in order to listen to the UDP port on my machine. i'm getting nothing from the jboss on that port. we check all communication issues and there is there is open communication between the jboss machine and my machine through the specified UDP port. is there any special jar need for UDPAppender ? or special log4j version ? i'm quite in the dark here, and couldn't find lots of information about UDPAppender on the net. any help is appreciated. thanks, Roy. -- View this message in context: http://old.nabble.com/can%27t-get-UDPAppender-to-work-tp30919617p30919617.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org -- View this message in context: http://old.nabble.com/can%27t-get-UDPAppender-to-work-tp30919617p30922474.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org -- View this message in context:
can't get UDPAppender to work
Hi all, i'm an automation developer with QTP (not java developer) i'm trying to configure the log4j of our application to broadcast the log messages through UDP protocol using the UDPAppender, so i can't catch and process log messages. the application uses log4j version 1.2.16. this is the appender configuration i'm using in the log4j xml conf: appender name=QtpUdpAppender class=org.apache.log4j.net.UDPAppender layout class=org.apache.log4j.xml.XMLLayout /layout /appender i used several tools and log4j consoles in order to listen to the UDP port on my machine. i'm getting nothing from the jboss on that port. we check all communication issues and there is there is open communication between the jboss machine and my machine through the specified UDP port. is there any special jar need for UDPAppender ? or special log4j version ? i'm quite in the dark here, and couldn't find lots of information about UDPAppender on the net. any help is appreciated. thanks, Roy. -- View this message in context: http://old.nabble.com/can%27t-get-UDPAppender-to-work-tp30919617p30919617.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org
Re: can't get UDPAppender to work
You probably forgot to add the appender to your root. A complete copy of your log4j.xml would help. On Mon, Feb 14, 2011 at 1:49 AM, rvarum r...@supportspace.com wrote: Hi all, i'm an automation developer with QTP (not java developer) i'm trying to configure the log4j of our application to broadcast the log messages through UDP protocol using the UDPAppender, so i can't catch and process log messages. the application uses log4j version 1.2.16. this is the appender configuration i'm using in the log4j xml conf: appender name=QtpUdpAppender class=org.apache.log4j.net.UDPAppender layout class=org.apache.log4j.xml.XMLLayout /layout /appender i used several tools and log4j consoles in order to listen to the UDP port on my machine. i'm getting nothing from the jboss on that port. we check all communication issues and there is there is open communication between the jboss machine and my machine through the specified UDP port. is there any special jar need for UDPAppender ? or special log4j version ? i'm quite in the dark here, and couldn't find lots of information about UDPAppender on the net. any help is appreciated. thanks, Roy. -- View this message in context: http://old.nabble.com/can%27t-get-UDPAppender-to-work-tp30919617p30919617.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org
Re: can't get UDPAppender to work
i think i did that. i attached a copy of the entire xml. http://old.nabble.com/file/p30922474/jboss-log4j.xml jboss-log4j.xml Rodney Beede-5 wrote: You probably forgot to add the appender to your root. A complete copy of your log4j.xml would help. On Mon, Feb 14, 2011 at 1:49 AM, rvarum r...@supportspace.com wrote: Hi all, i'm an automation developer with QTP (not java developer) i'm trying to configure the log4j of our application to broadcast the log messages through UDP protocol using the UDPAppender, so i can't catch and process log messages. the application uses log4j version 1.2.16. this is the appender configuration i'm using in the log4j xml conf: appender name=QtpUdpAppender class=org.apache.log4j.net.UDPAppender layout class=org.apache.log4j.xml.XMLLayout /layout /appender i used several tools and log4j consoles in order to listen to the UDP port on my machine. i'm getting nothing from the jboss on that port. we check all communication issues and there is there is open communication between the jboss machine and my machine through the specified UDP port. is there any special jar need for UDPAppender ? or special log4j version ? i'm quite in the dark here, and couldn't find lots of information about UDPAppender on the net. any help is appreciated. thanks, Roy. -- View this message in context: http://old.nabble.com/can%27t-get-UDPAppender-to-work-tp30919617p30919617.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org -- View this message in context: http://old.nabble.com/can%27t-get-UDPAppender-to-work-tp30919617p30922474.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org
Re: can't get UDPAppender to work
You will need additional jars in order to that appender with a Java application. http://logging.apache.org/log4j/companions/receivers/apidocs/org/apache/log4j/net/UDPAppender.html Note that there is also log4jnet which has this appender for .NET applications so don't confuse them. http://logging.apache.org/log4j/companions/receivers/apidocs/org/apache/log4j/net/UDPAppender.htmlThe log4j companions receiver package hasn't been released yet. You can get the source from http://svn.apache.org/repos/asf/logging/log4j/companions/receivers/trunk/ and build it yourself. I can't find any jars of it in any Maven repos. Additionally your UDP appender should probably be above the root element. On Mon, Feb 14, 2011 at 7:59 AM, rvarum r...@supportspace.com wrote: i think i did that. i attached a copy of the entire xml. http://old.nabble.com/file/p30922474/jboss-log4j.xml jboss-log4j.xml Rodney Beede-5 wrote: You probably forgot to add the appender to your root. A complete copy of your log4j.xml would help. On Mon, Feb 14, 2011 at 1:49 AM, rvarum r...@supportspace.com wrote: Hi all, i'm an automation developer with QTP (not java developer) i'm trying to configure the log4j of our application to broadcast the log messages through UDP protocol using the UDPAppender, so i can't catch and process log messages. the application uses log4j version 1.2.16. this is the appender configuration i'm using in the log4j xml conf: appender name=QtpUdpAppender class=org.apache.log4j.net.UDPAppender layout class=org.apache.log4j.xml.XMLLayout /layout /appender i used several tools and log4j consoles in order to listen to the UDP port on my machine. i'm getting nothing from the jboss on that port. we check all communication issues and there is there is open communication between the jboss machine and my machine through the specified UDP port. is there any special jar need for UDPAppender ? or special log4j version ? i'm quite in the dark here, and couldn't find lots of information about UDPAppender on the net. any help is appreciated. thanks, Roy. -- View this message in context: http://old.nabble.com/can%27t-get-UDPAppender-to-work-tp30919617p30919617.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org -- View this message in context: http://old.nabble.com/can%27t-get-UDPAppender-to-work-tp30919617p30922474.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org
Re: can't get UDPAppender to work
You will need additional jars in order to that appender with a Java application. http://logging.apache.org/log4j/companions/receivers/apidocs/org/apache/log4j/net/UDPAppender.html Note that there is also log4jnet which has this appender for .NET applications so don't confuse them. http://logging.apache.org/log4j/companions/receivers/apidocs/org/apache/log4j/net/UDPAppender.htmlThe log4j companions receiver package hasn't been released yet. You can get the source from http://svn.apache.org/repos/asf/logging/log4j/companions/receivers/trunk/ and build it yourself. I can't find any jars of it in any Maven repos. Additionally your UDP appender should probably be above the root element. On Mon, Feb 14, 2011 at 7:59 AM, rvarum r...@supportspace.com wrote: i think i did that. i attached a copy of the entire xml. http://old.nabble.com/file/p30922474/jboss-log4j.xml jboss-log4j.xml Rodney Beede-5 wrote: You probably forgot to add the appender to your root. A complete copy of your log4j.xml would help. On Mon, Feb 14, 2011 at 1:49 AM, rvarum r...@supportspace.com wrote: Hi all, i'm an automation developer with QTP (not java developer) i'm trying to configure the log4j of our application to broadcast the log messages through UDP protocol using the UDPAppender, so i can't catch and process log messages. the application uses log4j version 1.2.16. this is the appender configuration i'm using in the log4j xml conf: appender name=QtpUdpAppender class=org.apache.log4j.net.UDPAppender layout class=org.apache.log4j.xml.XMLLayout /layout /appender i used several tools and log4j consoles in order to listen to the UDP port on my machine. i'm getting nothing from the jboss on that port. we check all communication issues and there is there is open communication between the jboss machine and my machine through the specified UDP port. is there any special jar need for UDPAppender ? or special log4j version ? i'm quite in the dark here, and couldn't find lots of information about UDPAppender on the net. any help is appreciated. thanks, Roy. -- View this message in context: http://old.nabble.com/can%27t-get-UDPAppender-to-work-tp30919617p30919617.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org -- View this message in context: http://old.nabble.com/can%27t-get-UDPAppender-to-work-tp30919617p30922474.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org