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 2018/10/11 14:03:00 UTC

[jira] [Commented] (CAY-2485) Compact Slf4j Logger

    [ https://issues.apache.org/jira/browse/CAY-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16646456#comment-16646456 ] 

Andrus Adamchik commented on CAY-2485:
--------------------------------------

We had this discussion offline with [~haria] , so let me comment. The idea is that this is an alternative impl of JdbcEventLogger, not a replacement of the current default one. Our current logger works great. However in some contexts you would like to trade off "correctness" for the log size and readability. E.g. active apps with wide tables (having 80 columns per table logged individually really blows up the log sizes and makes them visually unreadable) , also auto-generated WHERE clauses (prefetch-by-id or in LinkMove) that have hundreds (if not thousands) of conditions joined with OR.

So this is just a new optional flavor, and we can play with various formats to see what we can sacrifice to make logs smaller and more readable for those who care.

> Compact Slf4j Logger
> --------------------
>
>                 Key: CAY-2485
>                 URL: https://issues.apache.org/jira/browse/CAY-2485
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Core Library
>    Affects Versions: 4.1.M3
>            Reporter: Konstantin
>            Priority: Minor
>
> Create Compact Slf4j Logger:
> * Remove logging begin and commit transactions
> * Simplify selecting columns list
> * Groupe binding values by field



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)