AFAIK nothing has changed in the logging other than the name of the config file. All the logging
is done through log4j.
Do not know about the windows install, but using the normal (non package install) on linux
the /var/log/cassandra path was not automatically created.
It'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 (e.g. log4j.rootLogger=INFO,R
)
Aaron
On 08 Sep, 2010,at 03:42 PM, Alaa Zubaidi <alaa.zubaidi@pdf.com> wrote:
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
|