Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1464

Improve QueryLogger to log more information

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.1M1
    • Undefined future
    • Core Library
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            apparition Evgeny Ryabitskiy
            apparition Evgeny Ryabitskiy

            Dates

              Created:
              Updated:

              Slack

                Issue deployment