You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2014/09/29 21:52:36 UTC
[jira] [Updated] (CAY-1464) Improve QueryLogger to log more
information
[ https://issues.apache.org/jira/browse/CAY-1464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrus Adamchik updated CAY-1464:
---------------------------------
Fix Version/s: (was: 3.1)
Undefined future
> Improve QueryLogger to log more information
> -------------------------------------------
>
> Key: CAY-1464
> URL: https://issues.apache.org/jira/browse/CAY-1464
> Project: Cayenne
> Issue Type: Improvement
> Components: Core Library
> Affects Versions: 3.1M1
> Reporter: Evgeny Ryabitskiy
> Assignee: Evgeny Ryabitskiy
> Fix For: Undefined future
>
> Attachments: CAY-1464.patch
>
>
> Since I have to support lot's of applications using Cayenne and usually Cayenne logs is only information I have about some bugs, I wish to have more information in that logs.
> I think it will be nice to have:
> 1) Information of query that was executed (e.g. name of NamedQuery). To find right query in thousands...
> 2) Result of Select query.
> 3) As much information as it could be collected while logging errors.Like: What query? Params? What Query String was build? Connection pool State? Driver version? Cayenne version? Better more than less....
> Last one can be very useful since on production I have only ERROR logging level. And sometimes it is not possible to enable INFO level to find out what happen.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)