You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2012/09/21 01:38:08 UTC
[jira] [Created] (GORA-169) Implement correct logging for KepSpaces
and attributes in CassandraMappingManager
Lewis John McGibbney created GORA-169:
-----------------------------------------
Summary: Implement correct logging for KepSpaces and attributes in CassandraMappingManager
Key: GORA-169
URL: https://issues.apache.org/jira/browse/GORA-169
Project: Apache Gora
Issue Type: Improvement
Components: storage-cassandra
Affects Versions: 0.2.1
Reporter: Lewis John McGibbney
Fix For: 0.3
Currently the logging in CassandraMappingManager#loadConfiguration() fails to pick up a wealth of information from the keyspace definitions. An example is below:
{code}
2012-09-20 23:47:05,469 INFO store.CassandraMappingManager - Located Cassandra Keyspace: 'keyspace'
2012-09-20 23:47:05,476 INFO store.CassandraMappingManager - Located Cassandra Keyspace name: 'name'
2012-09-20 23:47:05,476 INFO store.CassandraMappingManager - Located Cassandra Mapping: 'class'
2012-09-20 23:47:05,476 INFO store.CassandraMappingManager - Located Cassandra Mapping class name: 'name'
{code}
As the logging incorrectly uses the jdom methods, keyspace names and additional logging is incorrect and not nearly enough of what should be present. It should be changed to reflect below:
{code}
2012-09-20 23:47:05,476 INFO store.CassandraMappingManager - Located Cassandra Keyspace name: '$nameOfKeySpace'
2012-09-20 23:47:05,476 INFO store.CassandraMappingManager - Located Cassandra Mapping for class: '$nameOfMappingClass'
...
etc
{code}
right now this is very misleading and needs to be sorted out with much more verbose logging for keyspace & attribute recognition.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (GORA-169) Implement correct logging for KeySpaces
and attributes in CassandraMappingManager
Posted by "Lewis John McGibbney (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GORA-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lewis John McGibbney updated GORA-169:
--------------------------------------
Attachment: GORA-169.patch
trivial patch to correct INFO logging in CassandraMappingManager#loadConfiguration and also correct the mapping definitions in the gora-tutorial gora-cassanda-mapping.xml file.
> Implement correct logging for KeySpaces and attributes in CassandraMappingManager
> ---------------------------------------------------------------------------------
>
> Key: GORA-169
> URL: https://issues.apache.org/jira/browse/GORA-169
> Project: Apache Gora
> Issue Type: Improvement
> Components: storage-cassandra
> Affects Versions: 0.2.1
> Reporter: Lewis John McGibbney
> Fix For: 0.3
>
> Attachments: GORA-169.patch
>
>
> Currently the logging in CassandraMappingManager#loadConfiguration() fails to pick up a wealth of information from the keyspace definitions. An example is below:
> {code}
> 2012-09-20 23:47:05,469 INFO store.CassandraMappingManager - Located Cassandra Keyspace: 'keyspace'
> 2012-09-20 23:47:05,476 INFO store.CassandraMappingManager - Located Cassandra Keyspace name: 'name'
> 2012-09-20 23:47:05,476 INFO store.CassandraMappingManager - Located Cassandra Mapping: 'class'
> 2012-09-20 23:47:05,476 INFO store.CassandraMappingManager - Located Cassandra Mapping class name: 'name'
> {code}
> As the logging incorrectly uses the jdom methods, keyspace names and additional logging is incorrect and not nearly enough of what should be present. It should be changed to reflect below:
> {code}
> 2012-09-20 23:47:05,476 INFO store.CassandraMappingManager - Located Cassandra Keyspace name: '$nameOfKeySpace'
> 2012-09-20 23:47:05,476 INFO store.CassandraMappingManager - Located Cassandra Mapping for class: '$nameOfMappingClass'
> ...
> etc
> {code}
> right now this is very misleading and needs to be sorted out with much more verbose logging for keyspace & attribute recognition.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (GORA-169) Implement correct logging for KeySpaces
and attributes in CassandraMappingManager
Posted by "Lewis John McGibbney (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GORA-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lewis John McGibbney updated GORA-169:
--------------------------------------
Summary: Implement correct logging for KeySpaces and attributes in CassandraMappingManager (was: Implement correct logging for KepSpaces and attributes in CassandraMappingManager)
> Implement correct logging for KeySpaces and attributes in CassandraMappingManager
> ---------------------------------------------------------------------------------
>
> Key: GORA-169
> URL: https://issues.apache.org/jira/browse/GORA-169
> Project: Apache Gora
> Issue Type: Improvement
> Components: storage-cassandra
> Affects Versions: 0.2.1
> Reporter: Lewis John McGibbney
> Fix For: 0.3
>
>
> Currently the logging in CassandraMappingManager#loadConfiguration() fails to pick up a wealth of information from the keyspace definitions. An example is below:
> {code}
> 2012-09-20 23:47:05,469 INFO store.CassandraMappingManager - Located Cassandra Keyspace: 'keyspace'
> 2012-09-20 23:47:05,476 INFO store.CassandraMappingManager - Located Cassandra Keyspace name: 'name'
> 2012-09-20 23:47:05,476 INFO store.CassandraMappingManager - Located Cassandra Mapping: 'class'
> 2012-09-20 23:47:05,476 INFO store.CassandraMappingManager - Located Cassandra Mapping class name: 'name'
> {code}
> As the logging incorrectly uses the jdom methods, keyspace names and additional logging is incorrect and not nearly enough of what should be present. It should be changed to reflect below:
> {code}
> 2012-09-20 23:47:05,476 INFO store.CassandraMappingManager - Located Cassandra Keyspace name: '$nameOfKeySpace'
> 2012-09-20 23:47:05,476 INFO store.CassandraMappingManager - Located Cassandra Mapping for class: '$nameOfMappingClass'
> ...
> etc
> {code}
> right now this is very misleading and needs to be sorted out with much more verbose logging for keyspace & attribute recognition.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira