GitHub user uce opened a pull request:

    https://github.com/apache/flink/pull/2899

    Various logging improvements

    I would like to include the following fixes for the 1.1.4 release. In 
general, I try to improve the debugging experience with this.
    
    1. **Reduce log pollution**: Some debug logs were very noisy and actually 
dominate the logs although they provide little value.
        - Log heartbeats on TRACE level
        - Don't log InputChannelDeploymentDescriptor
        - Decrease HadoopFileSystem logging
    2. **Improve log messages**: Some existing debug log messages were not that 
helpful.
        - Log GlobalConfiguration loaded properties on INFO level
        - Add TaskState toString
        - Add more detailed log messages to HA job graph store
    3. **Improve existing logger configuration templates**: The existing 
template simply configured the appenders and left everything except the root 
logger to the user. I changed it to be more fine grained (root logger, Flink, 
common libs/connectors). The goal is that users trying to DEBUG Flink, don't 
end up with too many unrelated log messages. 
    
    /cc @tillrohrmann 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/uce/flink logging

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/2899.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2899
    
----
commit 20ceaef71e8d10dbaf0cb01b8548fc3870d5ebac
Author: Ufuk Celebi <[email protected]>
Date:   2016-11-29T15:00:02Z

    [FLINK-5201] [logging] Log loaded config properties on INFO level

commit bb837cece0f0945ab05e71eda5c3a728a64b390b
Author: Ufuk Celebi <[email protected]>
Date:   2016-11-29T15:04:48Z

    [FLINK-5196] [logging] Don't log InputChannelDeploymentDescriptor

commit 6a21e85fc7d99ba687753b4989bb25eb19aaa3af
Author: Ufuk Celebi <[email protected]>
Date:   2016-11-29T16:15:27Z

    [FLINK-5194] [logging] Log heartbeats on TRACE level

commit 4a91b78e52c440d5c736789cea0f8d80968339f8
Author: Ufuk Celebi <[email protected]>
Date:   2016-11-29T15:15:30Z

    [FLINK-5198] [logging] Improve TaskState toString

commit 5a5a78a15c2c3a0b3d82446b98c0c73c26cb4a4d
Author: Ufuk Celebi <[email protected]>
Date:   2016-11-29T15:35:14Z

    [FLINK-5199] [logging] Improve logging in ZooKeeperSubmittedJobGraphStore

commit 83ef198008e4dd84a4876b7a8cefc1f870ebe0a2
Author: Ufuk Celebi <[email protected]>
Date:   2016-11-29T16:08:53Z

    [FLINK-5207] [logging] Decrease HadoopFileSystem logging

commit 98c63af63036178e9c8423b99360f42d18b2e388
Author: Ufuk Celebi <[email protected]>
Date:   2016-11-29T16:14:23Z

    [FLINK-5192] [logging] Improve log config templates

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to