Well, I understand it is my fault, but I am not able to understand how logging works in JbossCache.
Let's say: 1) Simple standalone application starting a TreeCache: log4j.xml (the one shipped with JbossCache) is in the classpath. Output produced (either with or without -Dlog4j.configuration=log4j.xml parameter): [INFO] PropertyConfigurator - -Found existing property editor for org.w3c.dom.Element: [EMAIL PROTECTED] [INFO] PropertyConfigurator - -configure(): attribute size: 13 [INFO] TreeCache - -setting cluster properties from xml to: UDP(bind_addr=1.6.64.159;ip_mcast=true;ip_ttl=64;loopback=true;mcast_addr=228.1.2.3;mcast_port=48866;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD_SOCK:VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=true;up_thread=true) [INFO] TreeCache - -interceptor chain is: class org.jboss.cache.interceptors.CallInterceptor class org.jboss.cache.interceptors.LockInterceptor class org.jboss.cache.interceptors.UnlockInterceptor class org.jboss.cache.interceptors.ReplicationInterceptor [INFO] TreeCache - -cache mode is REPL_SYNC [INFO] UDP - -sockets will use interface 1.6.64.159 [INFO] UDP - -socket information: local_addr=1.6.64.159:4611, mcast_addr=228.1.2.3:48866, bind_addr=ic2302299.ic.intra.infocamere.it/1.6.64.159, ttl=64 sock: bound to 1.6.64.159:4611, receive buffer size=80000, send buffer size=150000 mcast_recv_sock: bound to 1.6.64.159:48866, send buffer size=150000, receive buffer size=80000 mcast_send_sock: bound to 1.6.64.159:4612, send buffer size=150000, receive buffer size=80000 [INFO] TreeCache - -viewAccepted(): new members: [1.6.64.159:4611] [INFO] TreeCache - -new cache is null (maybe first member in cluster) [INFO] TreeCache - -state could not be retrieved (must be first member in group) ------------------------------------------------------- GMS: address is 1.6.64.159:4611 ------------------------------------------------------- Then I modify, delete, add entries in log4j.xml: nothing happens. The output remains the same above. 2) JBossCache used inside Weblogic: nothing is displayed. Only the line: ------------------------------------------------------- GMS: address is 1.6.64.159:4611 ------------------------------------------------------- And nothing, related with JBossCache, is present in Weblogic logs. Could you kindly post something like a short tutorial on JBosscache logging? TIA matabo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959023#3959023 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959023 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
