The file in a running installation you want is: /etc/cloudstack/management/ log4j-cloud.xml
It is generally dynamic - you don't have to restart mgmt. server, it just takes a few seconds to kick in. If you're looking at the source code, various components use logging - SystemVMs, KVM agents, CloudStack mgmt. servers. So there'll be multiple occurrences As Koushik says, I think ./client/tomcatconf/log4j-cloud.xml.in is the one for the mgmt. server. Kind regards, Paul Angus Regards, Paul Angus [email protected] www.shapeblue.com 53 Chandos Place, Covent Garden, London WC2N 4HSUK @shapeblue -----Original Message----- From: Chaz PC [mailto:[email protected]] Sent: 14 April 2016 16:01 To: [email protected] Subject: RE: [discuss] CloudStack logging I am confused about the configuration file there two files one is named Log4j-cloud.xml The other is Log4j-cloud.xml.in What is the difference between these two files ? I hope someone can help me clear this confusion<div> </div><div> </div><!-- originalMessage --><div>-------- Original message --------</div><div>From: Koushik Das <[email protected]> </div><div>Date: 14/04/2016 6:49 PM (GMT+04:00) </div><div>To: [email protected] </div><div>Subject: Re: [discuss] CloudStack logging </div><div> </div> Based on the namespace log level can be set. It needs to be configured in the log4j. Check client/tomcatconf/log4j-cloud.xml.in in the source code and you will get an idea. -Koushik ________________________________________ From: [email protected] <[email protected]> on behalf of Will Stevens <[email protected]> Sent: Thursday, April 14, 2016 7:29 PM To: [email protected] Subject: Re: [discuss] CloudStack logging Do you have to recompile in order to turn off the logging for a specific package or class? If yes, that is a show stopper for almost everyone... If it only requires a management server restart, that is more realistic. *Will STEVENS* Lead Developer *CloudOps* *| *Cloud Solutions Experts 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6 w cloudops.com *|* tw @CloudOps_ On Thu, Apr 14, 2016 at 9:48 AM, Daan Hoogland <[email protected]> wrote: > On Thu, Apr 14, 2016 at 3:41 PM, Will Stevens > <[email protected]> > wrote: > > > Is there an easy way to do that Daan, or is it a tedious task you > > just > have > > to power through? > > > It is hard work, mostly tedious, sometimes hilarious and most > definitely > > devops! It certainly wouldn't classify as development. > > > > > -- > Daan > DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.
