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 logging system

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

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.

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
evel 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 the debug logs that wi

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
>> 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 cluster (but >>

Re: Understanding logging in Cassandra

2021-02-17 Thread Kane Wilson
NFO 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. Most of > those

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 were managing

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
t 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 out what q

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

Re: Understanding TRACE logging

2019-09-26 Thread shalom sagges
gt;> 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: EXECUTE 2a6022010ffaf55229262de917

Re: Understanding TRACE logging

2019-09-26 Thread Jeff Jirsa
55229262de917657d0f 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? > Thanks! > DEBUG [SharedP

Understanding TRACE logging

2019-09-26 Thread shalom sagges
). 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:29:16,780 Message.java:437

Re: Client ID logging

2018-05-21 Thread Andy Tolbert
t; 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: Client ID logging

2018-05-21 Thread Hannu Kröger
018 kello 21.37: > > 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
gor, >>> >>> 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 ve

Re: Logging queries

2017-02-18 Thread Bhuvan Rawal
g 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 >> &

Re: Logging queries

2017-02-18 Thread Matija Gobec
g 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 >> >> Regards, >> Bhuvan >&

Re: Logging queries

2017-02-18 Thread Igor Leão
stax.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 > > On Sun, Feb 19, 2017 at 12:59 AM, Igor Leão <igor.l...@ubee.i

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

Re: StatusLogger is logging too many information

2016-04-25 Thread Anuj Wadehra
e 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 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

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 <ole

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 log IP

Re: Logging

2016-01-26 Thread oleg yusim
t; >> 2016-01-25 12:30 GMT-03:00 oleg yusim <olegyu...@gmail.com>: >> >>> Paulo, >>> >>> Ideally - all the actions (security purposes, preserving completness of >>> the audit trail). How about this approach: >>> http://www.codelord.net/2010

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

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 On Thu

Re: Logging

2016-01-25 Thread Sam Tunnicliffe
e details on that. > > 2016-01-25 12:30 GMT-03:00 oleg yusim <olegyu...@gmail.com>: > >> Paulo, >> >> Ideally - all the actions (security purposes, preserving completness of >> the audit trail). How about this approach: >> http://www.codelord.net/2010/

Re: Logging

2016-01-25 Thread Paulo Motta
-1123 for more details on that. 2016-01-25 12:30 GMT-03:00 oleg yusim <olegyu...@gmail.com>: > 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-con

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-21 Thread oleg yusim
suggestions? Thanks, Oleg On Thu, Jan 21, 2016 at 1:30 PM, Joel Knighton <joel.knigh...@datastax.com> wrote: > Cassandra uses logback as its backend for logging. > > You can find information about configuring logging in Cassandra by > searching for "Configuring loggin

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

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,

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 jatin.ganho...@gmail.com wrote: Hi, I'd like to

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

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: 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 m...@mattnworb.com wrote: Both the log4j http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html and logback documentation http://logback.qos.ch/manual/layouts.html warn that generating the filename/line information is not

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 m...@mattnworb.com 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

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

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 adil.cha...@gmail.com wrote: Hi, We have two data-center, we configured PasswordAuthenticator on each node, we increment the RF of system_auth to the

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 mark.l.re...@gmail.com: Hi Adil, What Cassandra version are you using? Are you using the default user or a non-default user?

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,

Re: logging over multi-datacenter

2014-11-20 Thread Adil
ok thank you. 2014-11-20 16:02 GMT+01:00 Mark Reddy mark.l.re...@gmail.com: 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

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: 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 samuelsson.j...@gmail.com: I'm testing triggers as part

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

2014-02-05 Thread Kyle Crumpton (kcrumpto)
@cassandra.apache.org Date: Tuesday, February 4, 2014 4:46 PM To: user@cassandra.apache.orgmailto:user@cassandra.apache.org user@cassandra.apache.orgmailto: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

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

2014-02-05 Thread Nick Bailey
To: user@cassandra.apache.org 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 Crumpton (kcrumpto) kcrum...@cisco.com wrote: Hi all, I'm fairly new to Cassandra. I'm deploying

Question 1: JMX binding, Question 2: Logging

2014-02-04 Thread Kyle Crumpton (kcrumpto)
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 (due to the port being taken by my other

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

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

2014-02-04 Thread Andrey Ilinykh
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 for it? Also- I have logging turned on. For some reason, though, my

Re: Logging Cassandra Reads/Writes

2013-07-11 Thread hajjat
://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 class, see log4j-server.properties for info 2

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 it on the org.apache.cassandra.db.StorageProxy

Logging Cassandra Reads/Writes

2013-07-09 Thread hajjat
, is it 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 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

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 haj...@purdue.edu wrote: Blair, thanks for the clarification! My friend actually just told me the same.. Any idea on how to do logging?? Thanks! -- View this message

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 bl...@orcaware.com wrote: No idea on the logging, I'm pretty new to Cassandra. Regards, Blair On Jul 9, 2013, at 12:50 PM, hajjat haj...@purdue.edu wrote: Blair

Re: Logging Cassandra queries

2013-05-21 Thread aaron morton
://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.com On 21/05

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 tomas.nu...@groupalia.comwrote: 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

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, and I don't

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 Núnez tomas.nu...@groupalia.com

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 set keyX would work for me. I'll check

Logging Cassandra queries

2013-05-17 Thread Tomàs Núnez
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=DEBUG,stdout,R* I'm getting a lot of information I

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 file about setting the log

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

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

2012-11-07 Thread Brian O'Neill
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/tree/master/input/javasrc/com/alvaza n /play/logging

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 sometime over

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

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: 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 mainalima...@gmail.com wrote: Hi, I have been running Cassandra 1.0.7 and in the log file I see the log saying  Finished hinted 

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 dri...@gmail.com 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 mainalima...@gmail.com wrote: Hi, I have been

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

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.

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

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 ruslan.usi...@gmail.com 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

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

Re: Enable thrift logging

2012-01-24 Thread ruslan usifov
2012/1/25 aaron morton aa...@thelastpickle.com 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

Re: Better way for logging ?

2011-11-15 Thread Jonathan Ellis
wrote: 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 Cassandra co-founder

Re: Better way for logging ?

2011-11-15 Thread Sachin Bhansali
? 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 sachin.bhans...@gmail.com wrote: Hi, Did anyone try to configure Async Logging in Cassandra 0.8.4 ? It seems only way to configure logging is through

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

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

Re: Using Cassandra for transaction logging, good idea?

2011-07-31 Thread Peter Tillotson
a hash(val) % 512 will distribute the logical row across a cluster for added resilience. The above becomes i:20110728:A9 { tx1=va1, tx8=va1, } p On 28/07/11 15:45, Kent Narling wrote: Hi! I am considering to use cassandra for clustered transaction logging in a project. What I

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

Re: Using Cassandra for transaction logging, good idea?

2011-07-31 Thread Kent Närling
:* Thursday, July 28, 2011 5:46 PM *To:* [hidden email]http://user/SendEmail.jtp?type=nodenode=6639001i=1 *Subject:* Using Cassandra for transaction logging, good idea? ** ** Hi! I am considering to use cassandra for clustered transaction logging in a project. What I need are in principal

Re: Using Cassandra for transaction logging, good idea?

2011-07-31 Thread aaron morton
]] Sent: Thursday, July 28, 2011 5:46 PM To: [hidden email] Subject: Using Cassandra for transaction logging, good idea? Hi! I am considering to use cassandra for clustered transaction logging in a project. What I need are in principal 3 functions: 1 - Log transaction

Using Cassandra for transaction logging, good idea?

2011-07-28 Thread Kent Narling
Hi! I am considering to use cassandra for clustered transaction logging in a project. What I need are in principal 3 functions: 1 - Log transaction with a unique (but possibly non-sequential) id 2 - Fetch transaction with a specific id 3 - Fetch X new transactions after a specific cursor

Logging to Cassandra wiki page

2010-10-08 Thread Jeremy Hanna
For those interested I've added a wiki page to provide information on logging directly to Cassandra. It has a few links right now but if anyone would like to help out in fleshing it out, it would be much appreciated :). Wiki page: http://wiki.apache.org/cassandra/LoggingToCassandra FAQ entry

Re: Couple of minor logging / error message things

2010-09-29 Thread aaron morton
Added CASSANDRA-1556 for the error message. Aaron On 29 Sep 2010, at 16:45, Jonathan Ellis wrote: On Tue, Sep 28, 2010 at 10:28 PM, Aaron Morton aa...@thelastpickle.com wrote: Noticed these when working against the current 0.7.0 beta2 (#3) build... When sending a system_add_keyspace

Couple of minor logging / error message things

2010-09-28 Thread Aaron Morton
Noticed these when working against the current 0.7.0 beta2 (#3) build...When sending a system_add_keyspace request with an invalid keyspace the response to the client is fine...(python)InvalidRequestException: InvalidRequestException(why='Invalid keyspace name: Test Keyspace 1285729085.78')However

Re: Couple of minor logging / error message things

2010-09-28 Thread Jonathan Ellis
On Tue, Sep 28, 2010 at 10:28 PM, Aaron Morton aa...@thelastpickle.com wrote: Noticed these when working against the current 0.7.0 beta2 (#3) build... When sending a system_add_keyspace request with an invalid keyspace the response to the client is fine... (python) InvalidRequestException:

  1   2   >