Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 30564 invoked from network); 8 Sep 2010 04:21:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Sep 2010 04:21:15 -0000 Received: (qmail 21702 invoked by uid 500); 8 Sep 2010 04:21:13 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 21557 invoked by uid 500); 8 Sep 2010 04:21:10 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 21549 invoked by uid 99); 8 Sep 2010 04:21:09 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 04:21:09 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a43.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 04:20:47 +0000 Received: from homiemail-a43.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a43.g.dreamhost.com (Postfix) with ESMTP id B903C8C06A for ; Tue, 7 Sep 2010 21:20:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=to:from :subject:date:message-id:content-type:mime-version:in-reply-to; q=dns; s=thelastpickle.com; b=XWPtm/l+5lr8tqJO0lJFr1AYJYSQAli94 9sE8irGy+4RaI9AXDjppH4mDQxSVGIGQ4yM86RHuMbXZsF0DMh6E6+b2Rppmx4Lh F+9wUjbU3DyD+7qgxQGeJQZvXTVqxKINkg7TK6q8yCCuq/Ai9erF3Ac3Chc2YchT 8Kxb1+1tds= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=to :from:subject:date:message-id:content-type:mime-version: in-reply-to; s=thelastpickle.com; bh=tJ1RAo6T3H3DpARolCSxeATc/wY =; b=sw4ZdmLdI6dHc1wOsEyJMz+zDpDFEYtzK1vu0Cv9hSAueC81T+nsBBi7ydc 6KTSqY8EPi14HBl/btO2Uv278MZNXvCsx/e4f2pDVpqzy2szz81/tKuzc3YzrGk5 fS584VdZ0FM8qsyCCMyh015x9Y7RNTg8CXI9yEpNzUFaHDfw= Received: from localhost (webms.mac.com [17.148.16.116]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a43.g.dreamhost.com (Postfix) with ESMTPSA id A2E7C8C065 for ; Tue, 7 Sep 2010 21:20:22 -0700 (PDT) To: user@cassandra.apache.org From: Aaron Morton Subject: Re: Cassandra 0.7 logging Date: Wed, 08 Sep 2010 04:20:16 GMT X-Mailer: MobileMe Mail (1C3202) Message-id: Content-Type: multipart/alternative; boundary=Apple-Webmail-42--6070883d-56bf-4d90-e8a6-94d333530fdb MIME-Version: 1.0 In-Reply-To: <4C870618.9000703@pdf.com> X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Webmail-42--6070883d-56bf-4d90-e8a6-94d333530fdb Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; format=flowed AFAIK nothing has changed in the logging other than the name of the config= file. All the logging is done through log4j.=A0=0A=0ADo not know about th= e windows install, but using the normal (non package install) on linux the= /var/log/cassandra path was not automatically created.=A0=0A=0AIt's going= to be a config problem on your side. Check the settings again, check all = the directories exist, check the user that cassandra is running under has = full permissions on the directory, check the root logger is configured to = use the rolling file appender =A0(e.g.=A0log4j.rootLogger=3DINFO,R )=0A=0A= =0A=0AAaron=0A=0AOn 08 Sep, 2010,at 03:42 PM, Alaa Zubaidi wrote:=0A=0AI modified the log4-server.properties:=0A=0A# Edit the= next line to point to your logs directory=0Alog4j.appender.R.File=3DE:\va= r\log\cassandra\Cass07\system.log=0A=0ACassandra is installed on E: =0A=0A= The var\log\cassandra is created on the same place where Cassandra is inst= alled which is (in my case) "E"=0AHowever, I am NOT sure that 0.7 is respo= nsible for creating the system.log under E:\var\log\cassandra\ =0AIt was p= revious releases (0.6.5).=0A=0AThanks=0AAlaa =0A=0A=0A=0AOn 9/7/2010 6:42 = PM, Aaron Morton wrote:=0AAh, running on windows.=0A=0AHave you included t= he drive spec in the logging configuration, i.e. is you =0Alogging configu= red to use=0A> E:\var\log\cassandra\Cass07\system.log=0A=0AWhen you say ca= ssandra created /var/log/cassandra/system.log i'ts a bit =0Aconfusing, wha= t drive are you talking about ?=0A=0AAaron=0A=0AOn 08 Sep, 2010,at 01:22 P= M, Alaa Zubaidi wrote:=0A=0A> Thanks Aaron,=0A>=0A>= For some reason /var/log/cassandra/system.log does not have the 0.7=0A> i= nfo, it has the Old 0.6.5 info.=0A> I modified the log4-server.properties = and changed the default location=0A> and still did not get anything?=0A>=0A= > I running on Windows by the way, and Cassandra created=0A> /var/log/cass= andra/system.log and I changed it to:=0A> E:\var\log\cassandra\Cass07\syst= em.log=0A>=0A> Regards,=0A>=0A> Alaa=0A>=0A> On 9/7/2010 6:04 PM, Aaron Mo= rton wrote:=0A> > logging is configured in the conf/log4-server.properties= file.=0A> >=0A> > The default location is /var/log/cassandra/system.log=0A= > >=0A> > It's enabled at the INFO level by default, and also logs to the = file and stdout=0A> > by default.=0A> >=0A> > Aaron=0A> >=0A> >=0A> >=0A> = > On 08 Sep, 2010,at 12:44 PM, Alaa Zubaidi wrote:=0A= > >=0A> > > Hi,=0A> > > I are testing 0.7 and I cannot find the system.log= file, is there any=0A> > > thing I need to do in order to enable the logg= ing?=0A> > > I read about the changes made to the logging in 0.7 but did n= ot find any=0A> > > thing that needs to be done to enable the logging..=0A= > > >=0A> > > Regards,=0A> > > Alaa=0A> > >=0A>=0A> -- =0A> Alaa Zubaidi=0A= > PDF Solutions, Inc.=0A> 333 West San Carlos Street, Suite 700=0A> San Jo= se, CA 95110 USA=0A> Tel: 408-283-5639 (or 408-280-7900 x5639)=0A> fax: 40= 8-938-6479=0A> email: alaa.zubaidi@pdf.com=0A>=0A>=0A=0A-- =0AAlaa Zubaidi= =0APDF Solutions, Inc.=0A333 West San Carlos Street, Suite 700=0ASan Jose,= CA 95110 USA=0ATel: 408-283-5639 (or 408-280-7900 x5639)=0Afax: 408-938-= 6479=0Aemail: alaa.zubaidi@pdf.com --Apple-Webmail-42--6070883d-56bf-4d90-e8a6-94d333530fdb Content-Type: multipart/related; type="text/html"; boundary=Apple-Webmail-86--6070883d-56bf-4d90-e8a6-94d333530fdb --Apple-Webmail-86--6070883d-56bf-4d90-e8a6-94d333530fdb Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1;
AFAIK nothing has changed in the logging other than the name of the c= onfig file. All the logging is done through log4j. 

Do not know about the windows install, but using the normal (non p= ackage install) on linux the /var/log/cassandra path was not automatically= created. 

It's going to be a config problem on you= r side. Check the settings again, check all the directories exist, check t= he user that cassandra is running under has full permissions on the direct= ory, check the root logger is configured to use the rolling file appender =  (e.g. log4j.rootLogger=3DINFO,R )


=

Aaron

On 08 Sep, 2010,at 03:42 PM,= Alaa Zubaidi <alaa.zubaidi@pdf.com> wrote:

=0A =0A=0A= =0A =0A =0A =0A
I modified the log4-server.properties:=0A=0A=
# Edit the next line to point to your logs directory=0Alog4j.appender.R=
File=3DE:\var\log\cassandra\Cass07\system.log=0A=0ACassandra is insta=
lled on E: =0A=0AThe var\log\cassandra is created on the same place where =
Cassandra is installed which is (in my case) "E"=0AHowever, I am NOT sure =
that 0.7 is responsible for creating the system.log under E:\var\log\cassa=
ndra\ =0AIt was previous releases (0.6.5).=0A=0AThanks=0AAlaa =0A=0A
= =0A
=0A
=0A On 9/7/2010 6:42 PM, Aaron Morton wrote:=0A =
=0A
Ah, running on windows=
=0A=0AHave you included the drive spec in the logging configuration, i.e.=
 is you =0Alogging configured to use=0A> E:\var\log\cassandra\Cass07\sy=
stem.log=0A=0AWhen you say cassandra created /var/log/cassandra/system.log=
 i'ts a bit =0Aconfusing, what drive are you talking about ?=0A=0AAaron=0A=
=0AOn 08 Sep, 2010,at 01:22 PM, Alaa Zubaidi <alaa.zubaidi@pdf.com> wrote:=0A=0A> Thanks Aaron,=
=0A>=0A> For some reason /var/log/cassandra/system.log does not have=
 the 0.7=0A> info, it has the Old 0.6.5 info.=0A> I modified the log=
4-server.properties and changed the default location=0A> and still did =
not get anything?=0A>=0A> I running on Windows by the way, and Cassa=
ndra created=0A> /var/log/cassandra/system.log and I changed it to:=0A&=
gt; E:\var\log\cassandra\Cass07\system.log=0A>=0A> Regards,=0A>=0A=
> Alaa=0A>=0A> On 9/7/2010 6:04 PM, Aaron Morton wrote:=0A> &g=
t; logging is configured in the conf/log4-server.properties file.=0A> &=
gt;=0A> > The default location is /var/log/cassandra/system.log=0A&g=
t; >=0A> > It's enabled at the INFO level by default, and also lo=
gs to the file and stdout=0A> > by default.=0A> >=0A> > =
Aaron=0A> >=0A> >=0A> >=0A> > On 08 Sep, 2010,at 1=
2:44 PM, Alaa Zubaidi<alaa.zuba=
idi@pdf.com> wrote:=0A> >=0A> > > Hi,=0A> > &g=
t; I are testing 0.7 and I cannot find the system.log file, is there any=0A=
> > > thing I need to do in order to enable the logging?=0A> &=
gt; > I read about the changes made to the logging in 0.7 but did not f=
ind any=0A> > > thing that needs to be done to enable the logging=
.=0A> > >=0A> > > Regards,=0A> > > Alaa=0A>=
 > >=0A>=0A> -- =0A> Alaa Zubaidi=0A> PDF Solutions, Inc=
=0A> 333 West San Carlos Street, Suite 700=0A> San Jose, CA 95110 U=
SA=0A> Tel: 408-283-5639 (or 408-280-7900 x5639)=0A> fax: 408-938-64=
79=0A> email: alaa.zubaidi@p=
df.com=0A>=0A>=0A
=0A
=0A
=0A -- =0AAlaa Zubaidi=0APDF Solutions, Inc.=0A333 W= est San Carlos Street, Suite 700=0ASan Jose, CA 95110 USA=0ATel: 408-283-= 5639 (or 408-280-7900 x5639)=0Afax: 408-938-6479=0Aemail: alaa.zubaidi@pdf.com =0A =0A=0A
--Apple-Webmail-86--6070883d-56bf-4d90-e8a6-94d333530fdb-- --Apple-Webmail-42--6070883d-56bf-4d90-e8a6-94d333530fdb--