[ 
https://issues.apache.org/jira/browse/BEAM-10953?focusedWorklogId=491336&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-491336
 ]

ASF GitHub Bot logged work on BEAM-10953:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 25/Sep/20 17:25
            Start Date: 25/Sep/20 17:25
    Worklog Time Spent: 10m 
      Work Description: codecov[bot] edited a comment on pull request #12907:
URL: https://github.com/apache/beam/pull/12907#issuecomment-698619103


   # [Codecov](https://codecov.io/gh/apache/beam/pull/12907?src=pr&el=h1) Report
   > Merging 
[#12907](https://codecov.io/gh/apache/beam/pull/12907?src=pr&el=desc) into 
[master](https://codecov.io/gh/apache/beam/commit/a3470bdde79e1f34dfba5c56e99a3711bf7b2775?el=desc)
 will **decrease** coverage by `0.05%`.
   > The diff coverage is `n/a`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/beam/pull/12907/graphs/tree.svg?width=650&height=150&src=pr&token=qcbbAh8Fj1)](https://codecov.io/gh/apache/beam/pull/12907?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #12907      +/-   ##
   ==========================================
   - Coverage   82.36%   82.31%   -0.06%     
   ==========================================
     Files         454      455       +1     
     Lines       54184    54603     +419     
   ==========================================
   + Hits        44630    44945     +315     
   - Misses       9554     9658     +104     
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/beam/pull/12907?src=pr&el=tree) | Coverage 
Δ | |
   |---|---|---|
   | 
[.../python/apache\_beam/testing/test\_stream\_service.py](https://codecov.io/gh/apache/beam/pull/12907/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vdGVzdGluZy90ZXN0X3N0cmVhbV9zZXJ2aWNlLnB5)
 | `88.63% <0.00%> (-4.55%)` | :arrow_down: |
   | 
[sdks/python/apache\_beam/dataframe/schemas.py](https://codecov.io/gh/apache/beam/pull/12907/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vZGF0YWZyYW1lL3NjaGVtYXMucHk=)
 | `97.56% <0.00%> (-2.44%)` | :arrow_down: |
   | 
[...che\_beam/runners/interactive/interactive\_runner.py](https://codecov.io/gh/apache/beam/pull/12907/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9pbnRlcmFjdGl2ZS9pbnRlcmFjdGl2ZV9ydW5uZXIucHk=)
 | `90.90% <0.00%> (-1.82%)` | :arrow_down: |
   | 
[sdks/python/apache\_beam/io/gcp/pubsub.py](https://codecov.io/gh/apache/beam/pull/12907/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vaW8vZ2NwL3B1YnN1Yi5weQ==)
 | `92.30% <0.00%> (-1.28%)` | :arrow_down: |
   | 
[...ks/python/apache\_beam/runners/worker/data\_plane.py](https://codecov.io/gh/apache/beam/pull/12907/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy93b3JrZXIvZGF0YV9wbGFuZS5weQ==)
 | `88.68% <0.00%> (-1.23%)` | :arrow_down: |
   | 
[...pache\_beam/runners/interactive/interactive\_beam.py](https://codecov.io/gh/apache/beam/pull/12907/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9pbnRlcmFjdGl2ZS9pbnRlcmFjdGl2ZV9iZWFtLnB5)
 | `78.85% <0.00%> (-1.04%)` | :arrow_down: |
   | 
[sdks/python/apache\_beam/dataframe/convert.py](https://codecov.io/gh/apache/beam/pull/12907/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vZGF0YWZyYW1lL2NvbnZlcnQucHk=)
 | `88.88% <0.00%> (-0.70%)` | :arrow_down: |
   | 
[sdks/python/apache\_beam/io/avroio.py](https://codecov.io/gh/apache/beam/pull/12907/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vaW8vYXZyb2lvLnB5)
 | `61.00% <0.00%> (-0.36%)` | :arrow_down: |
   | 
[sdks/python/apache\_beam/transforms/environments.py](https://codecov.io/gh/apache/beam/pull/12907/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vdHJhbnNmb3Jtcy9lbnZpcm9ubWVudHMucHk=)
 | `83.54% <0.00%> (-0.33%)` | :arrow_down: |
   | 
[...on/apache\_beam/runners/dataflow/dataflow\_runner.py](https://codecov.io/gh/apache/beam/pull/12907/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9kYXRhZmxvdy9kYXRhZmxvd19ydW5uZXIucHk=)
 | `76.93% <0.00%> (-0.31%)` | :arrow_down: |
   | ... and [35 
more](https://codecov.io/gh/apache/beam/pull/12907/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/beam/pull/12907?src=pr&el=continue).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/beam/pull/12907?src=pr&el=footer). Last 
update 
[b656987...72eb870](https://codecov.io/gh/apache/beam/pull/12907?src=pr&el=lastupdated).
 Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 491336)
    Time Spent: 4h 10m  (was: 4h)

> Logging placeholder mismatches should be disallowed.
> ----------------------------------------------------
>
>                 Key: BEAM-10953
>                 URL: https://issues.apache.org/jira/browse/BEAM-10953
>             Project: Beam
>          Issue Type: Bug
>          Components: testing
>            Reporter: Kyle Weaver
>            Priority: P2
>          Time Spent: 4h 10m
>  Remaining Estimate: 0h
>
> slf4j Logger has overloaded methods for each severity level:
>     public void warn(String format, Object... arguments);
>     public void warn(String msg, Throwable t);
> These two signatures are often confused:
>     LOG.warn("foo {}", new Exception("bar"));
> This example does not print "foo bar" or anything like one would expect. 
> Instead, "foo {}" (without any substitution). This often confuses Dataflow 
> users.
> This pattern can be statically checked in Intellij. We should figure out how 
> to enable similar checks using our existing static analysis tooling (perhaps 
> errorprone?)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to