Skip to content

Conversation

@zhiweiv
Copy link
Contributor

@zhiweiv zhiweiv commented May 11, 2019

What this PR does / why we need it:
Each cni request starts a new process, but they share same log file. When multi cni requests received at same time, it is difficult to distinguish logs for each request, add pid to logs will help to better troubleshooting issue.

Which issue this PR fixes
Fixes #354

@codecov
Copy link

codecov bot commented May 11, 2019

Codecov Report

Merging #360 into master will decrease coverage by 0.06%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #360      +/-   ##
==========================================
- Coverage   40.93%   40.86%   -0.07%     
==========================================
  Files          25       25              
  Lines        3518     3519       +1     
==========================================
- Hits         1440     1438       -2     
- Misses       1870     1872       +2     
- Partials      208      209       +1
Impacted Files Coverage Δ
log/logger.go 55.05% <100%> (+0.51%) ⬆️
telemetry/telemetrybuffer.go 50.9% <0%> (-1.09%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 78bf592...1859631. Read the comment docs.

@zhiweiv
Copy link
Contributor Author

zhiweiv commented May 11, 2019

@sharmasushant
Please help to take a look.

@saiyan86 saiyan86 self-requested a review May 13, 2019 17:45
@saiyan86 saiyan86 self-assigned this May 13, 2019
@zhiweiv
Copy link
Contributor Author

zhiweiv commented May 16, 2019

@saiyan86
I updated the format, please take a look again.

@saiyan86
Copy link
Contributor

/lgtm

Copy link
Member

@tamilmani1989 tamilmani1989 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@tamilmani1989 tamilmani1989 merged commit 2088315 into Azure:master Jul 26, 2019
@zhiweiv zhiweiv deleted the log-pid branch July 26, 2019 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add pid to log

3 participants