From user-return-9085-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Wed Sep 08 03:42:47 2010 Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 21551 invoked from network); 8 Sep 2010 03:42:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Sep 2010 03:42:47 -0000 Received: (qmail 91835 invoked by uid 500); 8 Sep 2010 03:42:45 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 91673 invoked by uid 500); 8 Sep 2010 03:42:42 -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 91665 invoked by uid 99); 8 Sep 2010 03:42:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 03:42:41 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [216.207.44.49] (HELO postrelay-2.pdf.com) (216.207.44.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 03:42:34 +0000 Received: from domo-sjc-001.pdf.com (domo-sjc-001.pdf.com [10.10.9.180]) by postrelay-2.pdf.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id o883iKbl009096 for ; Tue, 7 Sep 2010 20:44:22 -0700 Received: from [127.0.0.1] ([10.2.10.15]) by domo-sjc-001.pdf.com (8.13.8/8.13.8) with ESMTP id o883gAp9013872 for ; Tue, 7 Sep 2010 20:42:10 -0700 Message-ID: <4C870618.9000703@pdf.com> Date: Tue, 07 Sep 2010 20:42:16 -0700 From: Alaa Zubaidi User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Re: Cassandra 0.7 logging References: <315bc534-e3ba-cc0e-f250-b99c9ef3856e@me.com> In-Reply-To: <315bc534-e3ba-cc0e-f250-b99c9ef3856e@me.com> Content-Type: multipart/alternative; boundary="------------000109050605040704010505" X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------000109050605040704010505 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I modified the log4-server.properties: /# Edit the next line to point to your logs directory log4j.appender.R.File=E:\var\log\cassandra\Cass07\system.log / Cassandra is installed on E: The var\log\cassandra is created on the same place where Cassandra is installed which is (in my case) "E" However, I am NOT sure that 0.7 is responsible for creating the system.log under E:\var\log\cassandra\ It was previous releases (0.6.5). Thanks Alaa On 9/7/2010 6:42 PM, Aaron Morton wrote: > Ah, running on windows. > > Have you included the drive spec in the logging configuration, i.e. is you > logging configured to use > > E:\var\log\cassandra\Cass07\system.log > > When you say cassandra created /var/log/cassandra/system.log i'ts a bit > confusing, what drive are you talking about ? > > Aaron > > On 08 Sep, 2010,at 01:22 PM, Alaa Zubaidi wrote: > > > Thanks Aaron, > > > > For some reason /var/log/cassandra/system.log does not have the 0.7 > > info, it has the Old 0.6.5 info. > > I modified the log4-server.properties and changed the default location > > and still did not get anything? > > > > I running on Windows by the way, and Cassandra created > > /var/log/cassandra/system.log and I changed it to: > > E:\var\log\cassandra\Cass07\system.log > > > > Regards, > > > > Alaa > > > > On 9/7/2010 6:04 PM, Aaron Morton wrote: > > > logging is configured in the conf/log4-server.properties file. > > > > > > The default location is /var/log/cassandra/system.log > > > > > > It's enabled at the INFO level by default, and also logs to the file and stdout > > > by default. > > > > > > Aaron > > > > > > > > > > > > On 08 Sep, 2010,at 12:44 PM, Alaa Zubaidi wrote: > > > > > > > Hi, > > > > I are testing 0.7 and I cannot find the system.log file, is there any > > > > thing I need to do in order to enable the logging? > > > > I read about the changes made to the logging in 0.7 but did not find any > > > > thing that needs to be done to enable the logging.. > > > > > > > > Regards, > > > > Alaa > > > > > > > > -- > > Alaa Zubaidi > > PDF Solutions, Inc. > > 333 West San Carlos Street, Suite 700 > > San Jose, CA 95110 USA > > Tel: 408-283-5639 (or 408-280-7900 x5639) > > fax: 408-938-6479 > > email: alaa.zubaidi@pdf.com > > > > -- Alaa Zubaidi PDF Solutions, Inc. 333 West San Carlos Street, Suite 700 San Jose, CA 95110 USA Tel: 408-283-5639 (or 408-280-7900 x5639) fax: 408-938-6479 email: alaa.zubaidi@pdf.com --------------000109050605040704010505 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
I modified the log4-server.properties:

# Edit the next line to point to your logs directory
log4j.appender.R.File=E:\var\log\cassandra\Cass07\system.log

Cassandra is installed on E: 

The var\log\cassandra is created on the same place where Cassandra is installed which is (in my case) "E"
However, I am NOT sure that 0.7 is responsible for creating the system.log under E:\var\log\cassandra\ 
It was previous releases (0.6.5).

Thanks
Alaa 



On 9/7/2010 6:42 PM, Aaron Morton wrote:
Ah, running on windows.

Have you included the drive spec in the logging configuration, i.e. is you 
logging configured to use
> E:\var\log\cassandra\Cass07\system.log

When you say cassandra created /var/log/cassandra/system.log i'ts a bit 
confusing, what drive are you talking about ?

Aaron

On 08 Sep, 2010,at 01:22 PM, Alaa Zubaidi <alaa.zubaidi@pdf.com> wrote:

> Thanks Aaron,
>
> For some reason /var/log/cassandra/system.log does not have the 0.7
> info, it has the Old 0.6.5 info.
> I modified the log4-server.properties and changed the default location
> and still did not get anything?
>
> I running on Windows by the way, and Cassandra created
> /var/log/cassandra/system.log and I changed it to:
> E:\var\log\cassandra\Cass07\system.log
>
> Regards,
>
> Alaa
>
> On 9/7/2010 6:04 PM, Aaron Morton wrote:
> > logging is configured in the conf/log4-server.properties file.
> >
> > The default location is /var/log/cassandra/system.log
> >
> > It's enabled at the INFO level by default, and also logs to the file and stdout
> > by default.
> >
> > Aaron
> >
> >
> >
> > On 08 Sep, 2010,at 12:44 PM, Alaa Zubaidi<alaa.zubaidi@pdf.com> wrote:
> >
> > > Hi,
> > > I are testing 0.7 and I cannot find the system.log file, is there any
> > > thing I need to do in order to enable the logging?
> > > I read about the changes made to the logging in 0.7 but did not find any
> > > thing that needs to be done to enable the logging..
> > >
> > > Regards,
> > > Alaa
> > >
>
> -- 
> Alaa Zubaidi
> PDF Solutions, Inc.
> 333 West San Carlos Street, Suite 700
> San Jose, CA 95110 USA
> Tel: 408-283-5639 (or 408-280-7900 x5639)
> fax: 408-938-6479
> email: alaa.zubaidi@pdf.com
>
>

-- 
Alaa Zubaidi
PDF Solutions, Inc.
333 West San Carlos Street, Suite 700
San Jose, CA 95110  USA
Tel: 408-283-5639 (or 408-280-7900 x5639)
fax: 408-938-6479
email: alaa.zubaidi@pdf.com 
--------------000109050605040704010505--