Ahmad You mean to say in same file I should replace info from Trace? And what about first line : debug = true is fine or shall I replace debug to trace and should do trace=true ?
Krish On Thu, Jun 6, 2013 at 1:01 PM, Ahmad Emneina <aemne...@gmail.com> wrote: > I think TRACE is the better option, lets go with that. > > Ahmad > > On Jun 6, 2013, at 12:21 AM, Er Krishna <erkris...@gmail.com> wrote: > > > Hi Prasanna, > > > > On third point I followed the link. But I have only: > > > > ls -l /etc/cloud/agent/log4j-cloud.xml file. There is no directory like > > /etc/clodstack. So I made a change in this file like : > > > > sed -i 's/INFO/DEBUG/g' log4j-cloud.xml > > > > and below mentioned one line > > > > <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" > > debug="true"> > > > > Will it be fine ? > > > > > > Krishna > > > > On Thu, Jun 6, 2013 at 12:35 PM, Prasanna Santhanam <t...@apache.org> > wrote: > > > >> On Thu, Jun 06, 2013 at 12:29:32PM +0530, Er Krishna wrote: > >>> Prasanna, > >>> > >>> Thanks for the mail. here is my inline reply: > >>> > >>> > >>> Before that - > >>> 1. Is port 8250 open on the management server and listening for > >>> connections? > >>> > >>> > >>> |yes : O/P on Management server is : > >>> |root@krishna-S1200RP:~# lsof -i | grep -Rin 8250 > >>> |45:jsvc 1201 cloud 150u IPv6 12925 0t0 TCP > >> *:8250 > >>> (LISTEN) > >>> |Pls confirm above is fine or not ? In case if it need any change, let > me > >>> know. > >> > >> This is good. > >> > >>> > >>> > >>> > >>> 2. On your ubuntu host what is the output of lsmod | grep kvm > >>> > >>> > >>> |root@krishna-S1200RP:~# lsmod | grep -Rin KVM > >>> |39:kvm_intel 137888 0 > >>> |40:kvm 422160 1 kvm_intel > >>> root@krishna-S1200RP:~# > >>> > >> > >> Good here! > >> > >>> > >>> On the agent go to /etc/cloudstack/agent/log4j-*. > >>>> > >>>> xml. Within that > >>>> s/DEBUG/TRACE/g and that should turn on TRACE for all components. > >>> > >>> > >>> |I found log4j-cloud.xml file in /etc/cloud/agent directory and > >>> change below line. Is it fine ? Will it make debug enable ? > >>> |<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" > >>> debug="false"> > >>> |to > >>> |<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" > >>> debug="true"> > >> > >> Sorry, the log should be set as explained in #3 at > >> https://cwiki.apache.org/confluence/x/FgPMAQ > >> -- > >> Prasanna., > >> > >> ------------------------ > >> Powered by BigRock.com > >> > >> >