Re: Issue in Logging ASF Cassandra JIRA Account

2023-05-09 Thread ranju goel
>> Have you checked in spam mail folder? Sometimes it lands up there. >> >> On Mon, May 8, 2023, 20:52 ranju goel wrote: >> >>> Hi, >>> >>> >>> >>> I am getting incorrect username/password error message while logging in >

Re: Issue in Logging ASF Cassandra JIRA Account

2023-05-08 Thread ranju goel
>> >> >> >> I am getting incorrect username/password error message while logging in >> ASF Cassandra JIRA . >> >> username - rcass >> >> >> After this, I requested for resetting password and received >> Reset password link sent successfully >> But no such link received. >> >> Kindly suggest. >> >> >> Regards >> >> Ranju >> >

Re: Issue in Logging ASF Cassandra JIRA Account

2023-05-08 Thread manish khandelwal
Have you checked in spam mail folder? Sometimes it lands up there. On Mon, May 8, 2023, 20:52 ranju goel wrote: > Hi, > > > > I am getting incorrect username/password error message while logging in > ASF Cassandra JIRA . > > username - rcass > > > After this, I

Issue in Logging ASF Cassandra JIRA Account

2023-05-08 Thread ranju goel
Hi, I am getting incorrect username/password error message while logging in ASF Cassandra JIRA . username - rcass After this, I requested for resetting password and received Reset password link sent successfully But no such link received. Kindly suggest. Regards Ranju

Re: Log Rotation of Extended Compaction Logging

2021-04-15 Thread Kane Wilson
Correct. It's also worth noting that if you delete log files and restart C* the CompactionLogger will then find the earliest available file number starting from 0. You'll have to explore what you can use to configure proper log rotation as the CompactionLogger doesn't use the lo

Re: Log Rotation of Extended Compaction Logging

2021-04-09 Thread Jens Fischer
Hi Erik, thank you for the link, very instructive. To summarise my understanding of your mail, the code and my experiments: - as long as the compaction logger is running it will write into the same “compaction.log" file - if a new logger gets started (for example through restart of the Cassandr

Re: Log Rotation of Extended Compaction Logging

2021-04-07 Thread Erick Ramirez
As far as I'm aware, the compaction logs don't get rotated. It looks like it just increments the sequence number by 1. You can have a look at the logic here -- https://github.com/apache/cassandra/blob/cassandra-3.11.6/src/java/org/apache/cassandra/db/compaction/CompactionLogger.java#L303-L318. Che

Log Rotation of Extended Compaction Logging

2021-04-07 Thread Jens Fischer
Hi, Does anybody know the configuration for Extended Compaction Logging[1]? When is a log rotation triggered and how many files are kept? I did some googling, found [2] and checked the configuration in /etc/cassandra/logback.xml, neither does mention anything about compaction logging. I am

Re: Understanding logging in Cassandra

2021-02-17 Thread Kane Wilson
he class level as I haven't actually tried that myself. For most software I'd advise against running DEBUG in production, however for Cassandra you probably still want to keep DEBUG on. Some work has been done to improve logging, but there is still a large amount of useful info exposed in th

Re: Understanding logging in Cassandra

2021-02-17 Thread Jai Bheemsen Rao Dhanwada
Thank you all, Kane: Is there a list of logger names available for each task like compaction, memtable flush etc? Paulo: I have a cluster with a very high number of tables, yes just during the boot-up time, I see a very huge number of logs in the range > 100Mb. So I am trying to tune the logg

Re: Understanding logging in Cassandra

2021-02-17 Thread Paulo Motta
27;t change the >> log level of the log entries. For example if an entry is logged at DEBUG >> level, you cannot reconfigure it to be logged at INFO since the levels >> are defined in the code. >> >> Also, I wouldn't disable debug logging if I were managing a

Re: Understanding logging in Cassandra

2021-02-17 Thread Kane Wilson
at INFO since the levels > are defined in the code. > > Also, I wouldn't disable debug logging if I were managing a cluster (but > I'm sure someone has a different preference). If there's a problem, it will > make it very difficult to troubleshoot and identify the cause

Re: Understanding logging in Cassandra

2021-02-16 Thread Erick Ramirez
You can configure which log levels get logged but you can't change the log level of the log entries. For example if an entry is logged at DEBUG level, you cannot reconfigure it to be logged at INFO since the levels are defined in the code. Also, I wouldn't disable debug logging if I wer

Understanding logging in Cassandra

2021-02-16 Thread Jai Bheemsen Rao Dhanwada
Hello, I recently moved from C* version 2.1.16 to 3.11.6 and I see a lot of difference in logging between these two versions. Can someone please help me with the below questions? - Default log level in 2.1.16 is INFO <https://github.com/apache/cassandra/blob/cassandra-2.1.16/c

Re: Understanding TRACE logging

2019-10-02 Thread shalom sagges
is > not encrypted. > > I wrote this up here a few months ago: > http://www.redshots.com/finding-rogue-cassandra-queries/ > > I hope this helps. > > Paul > > > > > > On 26 Sep 2019, at 10:21, Laxmikant Upadhyay > wrote: > > One of the way to figure o

Re: Understanding TRACE logging

2019-09-26 Thread Paul Chandler
://www.redshots.com/finding-rogue-cassandra-queries/ I hope this helps. Paul > On 26 Sep 2019, at 10:21, Laxmikant Upadhyay wrote: > > One of the way to figure out what queries have run is to use audit logging > plugin supported in 3.x, 2.2 > https://github.com/Ericsson

Re: Understanding TRACE logging

2019-09-26 Thread Laxmikant Upadhyay
One of the way to figure out what queries have run is to use audit logging plugin supported in 3.x, 2.2 https://github.com/Ericsson/ecaudit On Thu, Sep 26, 2019 at 2:19 PM shalom sagges wrote: > Thanks for the quick response Jeff! > > The EXECUTE lines are a prepared statement

Re: Understanding TRACE logging

2019-09-26 Thread shalom sagges
an gain from that and why it >> appears many times (a lot more then the queries I wish to track). >> >> Can someone help me understand this type of logging? >> Thanks! >> DEBUG [SharedPool-Worker-88] 2019-09-25 06:29:16,793 Message.java:437 - >> Received: EXEC

Re: Understanding TRACE logging

2019-09-26 Thread Jeff Jirsa
gt; 2a6022010ffaf55229262de917657d0f with 6 values at consistency LOCAL_QUORUM, > v=3 but I don't understand what information I can gain from that and why it > appears many times (a lot more then the queries I wish to track). > > Can someone help me understand this type of logging? > Th

Understanding TRACE logging

2019-09-25 Thread shalom sagges
e queries I wish to track). Can someone help me understand this type of logging? Thanks! DEBUG [SharedPool-Worker-88] 2019-09-25 06:29:16,793 Message.java:437 - Received: EXECUTE 2a6022010ffaf55229262de917657d0f with 6 values at consistency LOCAL_QUORUM, v=3 DEBUG [SharedPool-Worker-87] 2019-09-25 06:2

Re: Client ID logging

2018-05-21 Thread Andy Tolbert
k to log that. > Create a wrapper for PasswordAuthenticator class for example and use that. > Or if you don’t use authentication you can create your own query handler. > > Hannu > > James Lovato kirjoitti 21.5.2018 kello 21.37: > > Hi guys, > > > > Can standard

Re: Client ID logging

2018-05-21 Thread Hannu Kröger
; Hi guys, > > Can standard OSS Cassandra 3 do logging of who connects to it? We have a > cluster in 3 DCs and our devs want to see if the client is crossing across DC > (even though they have DCLOCAL set from their DS driver). > > Thanks, > James

Client ID logging

2018-05-21 Thread James Lovato
Hi guys, Can standard OSS Cassandra 3 do logging of who connects to it? We have a cluster in 3 DCs and our devs want to see if the client is crossing across DC (even though they have DCLOCAL set from their DS driver). Thanks, James

Re: Logging queries

2017-02-18 Thread Igor Leão
> Hi Bhuvan, >> Thanks a lot! >> >> Any idea if something can be done for C* 2.X? >> >> Best, >> Igor >> >> 2017-02-18 16:41 GMT-03:00 Bhuvan Rawal : >> >>> Hi Igor, >>> >>> If you are using java driver, you can lo

Re: Logging queries

2017-02-18 Thread Bhuvan Rawal
eryLogger. >> https://docs.datastax.com/en/developer/java-driver/2.1/manual/logging/ >> >> Slow Query logger for server was introduced in C* 3.10 version. Details: >> https://issues.apache.org/jira/browse/CASSANDRA-12403 >> >> Regards, >> Bhuvan >> >&

Re: Logging queries

2017-02-18 Thread Matija Gobec
; > Any idea if something can be done for C* 2.X? > > Best, > Igor > > 2017-02-18 16:41 GMT-03:00 Bhuvan Rawal : > >> Hi Igor, >> >> If you are using java driver, you can log slow queries on client side >> using QueryLogger. >> https://docs.datastax.com/en

Re: Logging queries

2017-02-18 Thread Igor Leão
iver/2.1/manual/logging/ > > Slow Query logger for server was introduced in C* 3.10 version. Details: > https://issues.apache.org/jira/browse/CASSANDRA-12403 > > Regards, > Bhuvan > > On Sun, Feb 19, 2017 at 12:59 AM, Igor Leão wrote: > >> Hi there, >> >

Re: Logging queries

2017-02-18 Thread Bhuvan Rawal
Hi Igor, If you are using java driver, you can log slow queries on client side using QueryLogger. https://docs.datastax.com/en/developer/java-driver/2.1/manual/logging/ Slow Query logger for server was introduced in C* 3.10 version. Details: https://issues.apache.org/jira/browse/CASSANDRA-12403

Logging queries

2017-02-18 Thread Igor Leão
Hi there, I'm wondering how to log queries from Cassandra. These queries can be either slow queries or all queries. The only constraint is that I should do this on server side. I tried using `nodetool settraceprobability`, which writes all queries to the keyspace `system_traces`. When I try to se

Re: StatusLogger is logging too many information

2016-04-25 Thread Anuj Wadehra
-logger is logging too many information for each tables.  I wonder is there a way to reduce this log? for example, only print the thread pool information. Thanks.

StatusLogger is logging too many information

2016-04-25 Thread jason zhao yang
Hi, Currently StatusLogger will log info when there are dropped messages or GC more than 200 ms. In my use case, there are about 1000 tables. The status-logger is logging too many information for each tables. I wonder is there a way to reduce this log? for example, only print the thread pool

Logging connect/disconnect

2016-01-28 Thread oleg yusim
Greetings, What is the right way to configure Cassandra logging, so it would log all the connects and disconnects? Thanks, Oleg

Logging configuration (security)

2016-01-27 Thread oleg yusim
Greetings, I decided to put together a separate thread with logging configuration questions I have (I'm trying to figure out what from security best practices on logging Cassandra can and can't do): 1) Can Cassandra log IP and hostname of the host, DB resides at? 2) Can Cassandra

Re: Logging

2016-01-27 Thread oleg yusim
Sam, Paulo, One more question on logging. Can I add IP and hostname to the log message? If it is possible, can you give me example of how I would need to change %-5level %date{HH:mm:ss,SSS} %msg%n to add this information? Thanks, Oleg On Tue, Jan 26, 2016 at 4:42 PM, oleg yusim wrote

Re: Logging

2016-01-26 Thread oleg yusim
t;> 2016-01-25 12:30 GMT-03:00 oleg yusim : >> >>> Paulo, >>> >>> Ideally - all the actions (security purposes, preserving completness of >>> the audit trail). How about this approach: >>> http://www.codelord.net/2010/08/27/logging-with-a-context-user

Re: Logging

2016-01-25 Thread Sam Tunnicliffe
gt; See CASSANDRA-1123 for more details on that. > > 2016-01-25 12:30 GMT-03:00 oleg yusim : > >> Paulo, >> >> Ideally - all the actions (security purposes, preserving completness of >> the audit trail). How about this approach: >> http://www.codelord.net/2010/08/27

Re: Logging

2016-01-25 Thread Paulo Motta
estigation. See CASSANDRA-1123 for more details on that. 2016-01-25 12:30 GMT-03:00 oleg yusim : > Paulo, > > Ideally - all the actions (security purposes, preserving completness of > the audit trail). How about this approach: > http://www.codelord.net/2010/08/27/logging-with-a-cont

Re: Logging

2016-01-25 Thread oleg yusim
Paulo, Ideally - all the actions (security purposes, preserving completness of the audit trail). How about this approach: http://www.codelord.net/2010/08/27/logging-with-a-context-users-in-logback-and-spring-security/ ? Would that work? Or you would rather suggest to go MDC way? Thanks, Oleg

Re: Logging

2016-01-25 Thread Paulo Motta
What kind of actions? nodetool/system actions or cql statements? You could probably achieve identity-based logging with logback Mapped Diagnostic Context (MDC - logback.qos.ch/manual/mdc.html), but you'd need to patch your own Cassandra jars in many locations to provide that information t

Re: Logging

2016-01-25 Thread oleg yusim
I want to try to re-phrase my question here... what I'm trying to achieve is identity-based logging. I.e. every log message in file should start with username of the user, who initiated this action. Would that be possible to achieve? If so, can you give me a brief example? Thanks, Oleg O

Re: Logging

2016-01-21 Thread oleg yusim
here. Any suggestions? Thanks, Oleg On Thu, Jan 21, 2016 at 1:30 PM, Joel Knighton wrote: > Cassandra uses logback as its backend for logging. > > You can find information about configuring logging in Cassandra by > searching for "Configuring logging" on docs.

Re: Logging

2016-01-21 Thread Joel Knighton
Cassandra uses logback as its backend for logging. You can find information about configuring logging in Cassandra by searching for "Configuring logging" on docs.datastax.com and selecting the documentation for your version. The documentation for PatternLayouts (the pattern string a

Logging

2016-01-21 Thread oleg yusim
Greetings, Guys, can you, please, point me to documentation on how to configure format of logs? I want make it clear, I'm talking about formatting i.e. this: %-5level %date{HH:mm:ss,SSS} %msg%n What if I want to add another parameters into this string? Is there a list of available parameters her

Re: Logging client ID for YCSB workloads on Cassandra?

2015-03-23 Thread Jatin Ganhotra
Sure. I updated the YCSB code to pass a client ID as input parameter and then stored the clientID in the properties and used it in the DBWrapper class for logging per operation *YCSB/core/src/main/java/com/yahoo/ycsb/DBWrapper.java* Please let me know if you need more information and I can share

Re: Logging client ID for YCSB workloads on Cassandra?

2015-03-20 Thread Jan
HI Jatin;  besides enabling Tracing,   is there any other way to get the task done  ?  (to log the client ID for every operation)Please share with the community the solution, so that we could collectively learn from your experience.  cheersJan/ On Friday, February 20, 2015 12:48 PM, Jatin

Re: Logging client ID for YCSB workloads on Cassandra?

2015-02-20 Thread Jatin Ganhotra
Never mind, got it working. Thanks :) — Jatin Ganhotra Graduate Student, Computer Science University of Illinois at Urbana Champaign http://jatinganhotra.com http://linkedin.com/in/jatinganhotra On Wed, Feb 18, 2015 at 7:09 PM, Jatin Ganhotra wrote: > Hi, > > I'd like to log the client ID for

Logging client ID for YCSB workloads on Cassandra?

2015-02-18 Thread Jatin Ganhotra
Hi, I'd like to log the client ID for every operation performed by the YCSB on my Cassandra cluster. The purpose is to identify & analyze various other consistency measures other than eventual consistency. I wanted to know if people have done something similar in the past. Or am I missing someth

Re: Use of line number and file name in default cassandra logging configuration

2014-11-26 Thread Robert Coli
On Wed, Nov 26, 2014 at 11:57 AM, Matt Brown wrote: > I created https://issues.apache.org/jira/browse/CASSANDRA-8379 and > attached patches against trunk and the cassandra-2.0 branch. > Sweet. Thanks for closing the loop and letting the list know the JIRA info. =Rob

Re: Use of line number and file name in default cassandra logging configuration

2014-11-26 Thread Matt Brown
I created https://issues.apache.org/jira/browse/CASSANDRA-8379 and attached patches against trunk and the cassandra-2.0 branch. > On Nov 26, 2014, at 2:05 PM, Robert Coli wrote: > > On Wed, Nov 26, 2014 at 10:39 AM, Matt Brown

Re: Use of line number and file name in default cassandra logging configuration

2014-11-26 Thread Robert Coli
On Wed, Nov 26, 2014 at 10:39 AM, Matt Brown wrote: > Both the log4j > > and logback documentation warn > that generating the filename/line information is not a cheap ope

Use of line number and file name in default cassandra logging configuration

2014-11-26 Thread Matt Brown
In the logging configuration that ships with the cassandra distribution (log4j-server.properties in 2.0, and logback.xml in 2.1), the rolling file appender is configured to print the file name and the line number of each logging event: log4j.appender.R.layout.ConversionPattern=%5p [%t] %d

Re: logging over multi-datacenter

2014-11-20 Thread Adil
ok thank you. 2014-11-20 16:02 GMT+01:00 Mark Reddy : > Hi Adil, > > When using the default superuser ('cassandra') a consistency level of > QUORUM is used. When using other users ONE is used. > > You are not supposed to use 'cassandra' user directly, except to create > another superuser and use

Re: logging over multi-datacenter

2014-11-20 Thread Mark Reddy
Hi Adil, When using the default superuser ('cassandra') a consistency level of QUORUM is used. When using other users ONE is used. You are not supposed to use 'cassandra' user directly, except to create another superuser and use that one from that point on. Mark On 20 November 2014 14:40, Adil

Re: logging over multi-datacenter

2014-11-20 Thread Adil
cassandra version 2.1.2 with the default user we create another user and with this one we could login even if only one node is up 2014-11-20 15:16 GMT+01:00 Mark Reddy : > Hi Adil, > > What Cassandra version are you using? Are you using the default user or a > non-default user? > > > Mark > > On

Re: logging over multi-datacenter

2014-11-20 Thread Mark Reddy
Hi Adil, What Cassandra version are you using? Are you using the default user or a non-default user? Mark On 20 November 2014 08:20, Adil wrote: > Hi, > We have two data-center, we configured PasswordAuthenticator on each node, > we increment the RF of system_auth to the number of nodes (each

logging over multi-datacenter

2014-11-20 Thread Adil
Hi, We have two data-center, we configured PasswordAuthenticator on each node, we increment the RF of system_auth to the number of nodes (each data-center) as recommended. We can logged-in via cqlsh without problem, but when i stop cassandra on all nodes of a data-center we can't logged in in the o

Re: Logging of triggers

2014-06-03 Thread Joel Samuelsson
I found now that i logged with a too low log level set so it was filtered from the system log. Logging with a more critical log level made the log messages appear in the system log. /Joel 2014-06-03 16:30 GMT+02:00 Joel Samuelsson : > I'm testing triggers as part of a project and would

Logging of triggers

2014-06-03 Thread Joel Samuelsson
I'm testing triggers as part of a project and would like to add some logging to it. I'm using the same log structure as in the trigger example InvertedIndex but can't seem to find any logs. Where would I find the logging? In the system logs or somewhere else? /Joel

Re: Question 1: JMX binding, Question 2: Logging

2014-02-05 Thread Nick Bailey
@cassandra.apache.org" > Subject: Re: Question 1: JMX binding, Question 2: Logging > > JMX stuff is in /conf/cassandra-env.sh > > > On Tue, Feb 4, 2014 at 2:25 PM, Kyle Crumpton (kcrumpto) < > kcrum...@cisco.com> wrote: > >> Hi all, >> >> I

Re: Question 1: JMX binding, Question 2: Logging

2014-02-05 Thread Kyle Crumpton (kcrumpto)
Tuesday, February 4, 2014 4:46 PM To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Subject: Re: Question 1: JMX binding, Question 2: Logging JMX stuff is in /conf/cassandra-env.sh On Tue, Feb 4, 2014 at 2:25 PM, Kyle Crum

Re: Question 1: JMX binding, Question 2: Logging

2014-02-04 Thread Andrey Ilinykh
> 127.1.246.3 is the IP I want to bind to.. > > This actually did not change the JMX binding by any means for me. I saw a > post about a "jmx listen address" in cassandra.yaml and this also did not > work. > Any clarity on whether this is bindable at all? Or if there are plans

Re: Question 1: JMX binding, Question 2: Logging

2014-02-04 Thread srmore
Hello Kyle, For your first question, you need to create aliases to localhost e.g. 127.0.0.2,127.0.0.3 etc. this should get you going. About the logging issue, I think if your instance failing before it gets to long anything, as an example you can strart one instance and make sure it logs correctly

Question 1: JMX binding, Question 2: Logging

2014-02-04 Thread Kyle Crumpton (kcrumpto)
ss" in cassandra.yaml and this also did not work. Any clarity on whether this is bindable at all? Or if there are plans for it? Also- I have logging turned on. For some reason, though, my Cassandra is not actually logging as intended. My log folder is actually empty after each (failed) run

Re: Logging Cassandra Reads/Writes

2013-07-11 Thread hajjat
tracing > http://www.datastax.com/dev/blog/tracing-in-cassandra-1-2 > > 1) Is it possible to log which node provides the real data in a read > operation? > > It's available at the DEBUG level of logging. You probably just want to > enable it on the org.apache.cassandra.db.StorageProxy

Re: Logging Cassandra Reads/Writes

2013-07-10 Thread aaron morton
Some info on request tracing http://www.datastax.com/dev/blog/tracing-in-cassandra-1-2 > 1) Is it possible to log which node provides the real data in a read > operation? It's available at the DEBUG level of logging. You probably just want to enable

Re: Logging Cassandra Reads/Writes

2013-07-09 Thread Mohit Anchlia
There is a new tracing feature in Cassandra 1.2 that might help you with this. On Tue, Jul 9, 2013 at 1:31 PM, Blair Zajac wrote: > No idea on the logging, I'm pretty new to Cassandra. > > Regards, > Blair > > On Jul 9, 2013, at 12:50 PM, hajjat wrote: > > > Bla

Re: Logging Cassandra Reads/Writes

2013-07-09 Thread Blair Zajac
No idea on the logging, I'm pretty new to Cassandra. Regards, Blair On Jul 9, 2013, at 12:50 PM, hajjat wrote: > Blair, thanks for the clarification! My friend actually just told me the > same.. > > Any idea on how to do logging?? > > Thanks! > > > >

Re: Logging Cassandra Reads/Writes

2013-07-09 Thread hajjat
Blair, thanks for the clarification! My friend actually just told me the same.. Any idea on how to do logging?? Thanks! -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Logging-Cassandra-Reads-Writes-tp7588893p7588896.html Sent from the

Re: Logging Cassandra Reads/Writes

2013-07-09 Thread Blair Zajac
On 07/09/2013 12:25 PM, hajjat wrote: Hi, In a quorum read, my understanding is that Cassandra gets a digest of the object to be read from all nodes, and then chooses the fastest node for retrieving the data (if the quorum is met). According to this talk at Cassandra summit, that's incorrect.

Logging Cassandra Reads/Writes

2013-07-09 Thread hajjat
possible to log the different delays involved in each operation-- for example, 0.1 seconds to get digests from all nodes, 1 second to transfer data, etc.? Thanks, Mohammad Hajjat -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Logging-Cassandra

Re: Logging Cassandra queries

2013-05-21 Thread aaron morton
7;s http://www.slideshare.net/aaronmorton/apachecon-nafeb2013 Cass 1.2 also has probabilistic logging of queries. I'm doing a cut down version at the Cassandra SF conference in June. Cheers - Aaron Morton Freelance Cassandra Consultant New Zealand @aaronmorton http://www.thelastpickle.

Re: Logging Cassandra queries

2013-05-20 Thread Ilya Kirnos
sure, i think it'd be a useful feature On Sat, May 18, 2013 at 4:13 PM, Tomàs Núnez wrote: > If you're looking for logging like "get keyX with CL quorum and slice Y >> took n millis" > > > That would be even better! Maybe should I file a ticket in Cassandra

Re: Logging Cassandra queries

2013-05-18 Thread Tomàs Núnez
> > If you're looking for logging like "get keyX with CL quorum and slice Y > took n millis" That would be even better! Maybe should I file a ticket in Cassandra Jira for this feature? Do you think it would be helpful? BTW, just "get keyX" or "

Re: Logging Cassandra queries

2013-05-18 Thread Ilya Kirnos
If you're looking for logging like "get keyX with CL quorum and slice Y took n millis" there's nothing like that from what I could find. We had to modify c* source (CassandraServer.java) to add this query logging to the thrift codepath. On May 18, 2013 3:20 PM, "Tomàs

Re: Logging Cassandra queries

2013-05-18 Thread Tomàs Núnez
Yes, I read how to do that here, as well: http://www.datastax.com/docs/1.1/configuration/logging_options But I didn't know what classes to enable logging for the queries... Is there any document with the list of classes with a bit explanation for each of them? I can't find any, a

Re: Logging Cassandra queries

2013-05-17 Thread aaron morton
> And... could I be more precise when enabling logging? Because right now, with > log4j.rootLogger=DEBUG,stdout,R I'm getting a lot of information I won't use > ever, and I'd like to enable just what I need to see gets and seds…. see the example at the bottom of this fi

Logging Cassandra queries

2013-05-17 Thread Tomàs Núnez
e the name of it anywhere. For the test I'm using Cassandra 0.8.4 (yes, still), as my production servers, and also 1.0.11. Maybe this changes in 1.1? Maybe I'm doing something wrong? Any hint? And... could I be more precise when enabling logging? Because right now, with *log4j.rootLogger=

Re: Firewall logging to Cassandra

2013-02-18 Thread aaron morton
You may be interested in something like this for connecting to flume https://github.com/thobbs/flume-cassandra-plugin There is probably something similar for kafka out there. Cheers - Aaron Morton Freelance Cassandra Developer New Zealand @aaronmorton http://www.thelastpickle.

Firewall logging to Cassandra

2013-02-18 Thread Sloot, Hans-Peter
Hi, Is anyone using Cassandra to store firewall logs ? If so any points to share? Regards Hans-Peter Hans-Peter Sloot Oracle Technical Expert Oracle 10g/11g Certified Master Global Fact ATS NL T + 31 6 303 83 499 [atos_logotype] Dit bericht is vertrouwelijk en kan geheime informatie bev

Re: logging servers? any interesting in one for cassandra?

2012-11-07 Thread Brian O'Neill
single log taking you right to the code that >logged it…(thought you might enjoy it)... > >https://github.com/deanhiller/playorm/blob/master/input/javasrc/logback.xm >l > > >The java appender is here(called CassandraAppender) >https://github.com/deanhiller/playorm

Re: logging servers? any interesting in one for cassandra?

2012-11-06 Thread Hiller, Dean
ayorm/blob/master/input/javasrc/logback.xml The java appender is here(called CassandraAppender) https://github.com/deanhiller/playorm/tree/master/input/javasrc/com/alvazan /play/logging The AsyncAppender there is different then log backs in that it allows bursting but once reaches the limi

Re: logging servers? any interesting in one for cassandra?

2012-11-06 Thread Brian O'Neill
Nice DeanŠ I'm not so sure we would run the server, but we'd definitely be interested in the logback adaptor. (We would then just access the data via Virgil (over REST), with a thin javascript UI) Let me/us know if you end up putting it out there. We intend centralize logging sometim

logging servers? any interesting in one for cassandra?

2012-11-01 Thread Hiller, Dean
2 questions 1. What are people using for logging servers for their web tier logging? 2. Would anyone be interested in a new logging server(any programming language) for web tier to log to your existing cassandra(it uses up disk space in proportion to number of web servers and just has a

Re: Cassandra keeps on logging "Finished hinted handoff of 0 rows to endpoint"

2012-02-24 Thread Manoj Mainali
Thanks. On Saturday, February 25, 2012, Brandon Williams wrote: > It's a special case of a single sstable existing for hints: > https://issues.apache.org/jira/browse/CASSANDRA-3955 > > On Fri, Feb 24, 2012 at 5:43 AM, Manoj Mainali wrote: >> Hi, >> >> I have been running Cassandra 1.0.7 and in t

Re: Cassandra keeps on logging "Finished hinted handoff of 0 rows to endpoint"

2012-02-24 Thread Brandon Williams
It's a special case of a single sstable existing for hints: https://issues.apache.org/jira/browse/CASSANDRA-3955 On Fri, Feb 24, 2012 at 5:43 AM, Manoj Mainali wrote: > Hi, > > I have been running Cassandra 1.0.7 and in the log file I see the log saying > > " Finished hinted handoff of 0 rows to

Cassandra keeps on logging "Finished hinted handoff of 0 rows to endpoint"

2012-02-24 Thread Manoj Mainali
Hi, I have been running Cassandra 1.0.7 and in the log file I see the log saying " Finished hinted handoff of 0 rows to endpoint /{ipaddress}" The above issue can be reproduced by the following steps, 1. Start a cluster with 2 node, suppose node1 and node2 2. Create a keyspace with rf=2, create

Re: Logging 'write' operations

2012-02-22 Thread aaron morton
In theory you could grab the commit log, you would then have to work with internal cassandra structures to understand what is in there. Otherwise do it at the app level or design it into your data model. Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelas

Logging 'write' operations

2012-02-21 Thread A J
Hello, What is the best way to log write operations (insert,remove, counter add, batch operations) in Cassandra. I need to store the operations (with values being passed) in some fashion or the other for audit purposes (and possibly to undo some operation after inspection). Thanks.

Re: Enable thrift logging

2012-01-24 Thread ruslan usifov
2012/1/25 aaron morton > Do you want to log from inside the thrift code or from the cassandra > thrift classes ? > > Exceptions happens inside thrift, so inside thrift:-))) > if it's the later try > > log4j.logger.org.apache.thrift=DEBUG,THRIFT >> > > org.apache.thrift.transport is part of thri

Re: Enable thrift logging

2012-01-24 Thread aaron morton
Do you want to log from inside the thrift code or from the cassandra thrift classes ? if it's the later try > log4j.logger.org.apache.thrift=DEBUG,THRIFT org.apache.thrift.transport is part of thrift proper. Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.t

Re: Enable thrift logging

2012-01-24 Thread R. Verlangen
Pick a "custom" loglevel and redirect them with the /etc/syslog.conf ? 2012/1/24 ruslan usifov > Hello > > I try to log thrift log message (this need to us for solve communicate > problem between Cassandra daemon and php client ), so in > log4j-server.properties i write follow lines: > > log4j.l

Enable thrift logging

2012-01-24 Thread ruslan usifov
Hello I try to log thrift log message (this need to us for solve communicate problem between Cassandra daemon and php client ), so in log4j-server.properties i write follow lines: log4j.logger.org.apache.thrift.transport=DEBUG,THRIFT log4j.appender.THRIFT=org.apache.log4j.RollingFileAppender log

Re: Better way for logging ?

2011-11-15 Thread Sachin Bhansali
problem? At INFO cassandra doesn't log much, and at DEBUG > you're going to suffer async or no. :) > > On Tue, Nov 15, 2011 at 12:32 PM, Sachin Bhansali > wrote: > > Hi, > > > > Did anyone try to configure Async Logging in Cassandra 0.8.4 ? It seems > only >

Re: Better way for logging ?

2011-11-15 Thread Jonathan Ellis
: > Hi, > > Did anyone try to configure Async Logging in Cassandra 0.8.4 ? It seems only > way to configure logging is through property file > log4j-embedded-cassandra.properties which doesnt support Async logging. > > - Sachin > -- Jonathan Ellis Project Chair, Apache Cassa

Better way for logging ?

2011-11-15 Thread Sachin Bhansali
Hi, Did anyone try to configure Async Logging in Cassandra 0.8.4 ? It seems only way to configure logging is through property file log4j-embedded-cassandra.properties which doesnt support Async logging. - Sachin

Async Logging in Cassandra ?

2011-11-08 Thread Sachin Bhansali
It seems that by default only way to configure logging is through a property file. XML files are not accepted by default, which limits the functionality of log4j. Specifically we cannot enable Async logging. In case we have to , we have to change the start-up script. That mean every time their is

Async Logging in Cassandra ?

2011-11-08 Thread Sachin Bhansali
It seems that by default only way to configure logging is through a property file. XML files are not accepted by default, which limits the functionality of log4j. Specifically we cannot enable Async logging. In case we have to , we have to change the start-up script. That mean every time their is

Re: Using Cassandra for transaction logging, good idea?

2011-07-31 Thread aaron morton
wflake to generate the transaction ids: > https://github.com/twitter/snowflake > > > > From: Kent Narling [mailto:[hidden email]] > > Sent: Thursday, July 28, 2011 5:46 PM > To: [hidden email] > > Subject: Using Cassandra for transaction logging, good idea? >

Re: Using Cassandra for transaction logging, good idea?

2011-07-31 Thread Kent Närling
SendEmail.jtp?type=node&node=6639001&i=0>] > > *Sent:* Thursday, July 28, 2011 5:46 PM > *To:* [hidden email]<http://user/SendEmail.jtp?type=node&node=6639001&i=1> > > *Subject:* Using Cassandra for transaction logging, good idea? > > ** **

RE: Using Cassandra for transaction logging, good idea?

2011-07-31 Thread Lior Golan
How about using Snowflake to generate the transaction ids: https://github.com/twitter/snowflake From: Kent Narling [mailto:kent.narl...@gmail.com] Sent: Thursday, July 28, 2011 5:46 PM To: user@cassandra.apache.org Subject: Using Cassandra for transaction logging, good idea? Hi! I am

  1   2   >