Ok. it worked through log4j.xml. Somehow my servicemix wasn't picking up the correct log4j. I can see from the console. Jconsole, I am not able to figure out yet thanks
Jean-Baptiste Onofré wrote: > > Hi, > > You can see the endpoint configuration attributes using JMX (and a > JConsole). Each SU register a MBean that you can get and browse using the > RegistryMBean. > > Anyway, you can get more debug information by turning the log level to > debug. To do it : > - if you use SMX 3.x, you can edit the conf/log4j.xml file and change the > SMX logger : > <logger name="org.apache.servicemix"> > <!-- To enable debug logging, replace the INFO by DEBUG --> > <level value="DEBUG"/> > </logger> > <logger name="org.apache.servicemix.jbi.config"> > <level value="DEBUG"/> > </logger> > <logger name="org.apache.servicemix.jbi.deployment"> > <level value="DEBUG"/> > </logger> > > - if you use SMX 4.x, you can edit the etc/org.ops4j.pax.logging.cfg which > is the configuration of the logging OSGi bundle. The root logger must be > in debug : > log4j.rootLogger=DEBUG, out > > Regards > JB > > On Tuesday 13 January 2009 - 22:27, caman wrote: >> >> hello, >> >> Is there anyway to monitor what endpoint attributes values are configured >> for service unit? >> I have 2 service units both using a properties file to configure >> attributes >> for the servicemix-ftp and servicemix-file assembly. Please see this >> http://cwiki.apache.org/confluence/display/SM/4.+Beginner+-+Outsource+SU+configuration+in+a+properties+file >> >> if it doesnt make sense what I am talking about. >> >> Service units do deploy successfully but file transfer from file to >> poller >> to ftp does not work. >> >> >> Anyway, I can debug this? I want to see if all the attributes are >> configured >> properly through the property file or not? Any help is appreciated. >> >> Thanks in advance. >> >> -- >> View this message in context: >> http://www.nabble.com/Monitor-attributes-for-a-service-assembly-tp21450689p21450689.html >> Sent from the ServiceMix - User mailing list archive at Nabble.com. > > -- > Jean-Baptiste Onofré (Nanthrax) > BuildProcess/AutoDeploy Project Leader > http://buildprocess.sourceforge.net > [email protected] > PGP : 17D4F086 > > -- View this message in context: http://www.nabble.com/Monitor-attributes-for-a-service-assembly-tp21450689p21467864.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
