Skip to content

make qiniu log parser more flexiable - #715

Merged
wonderflow merged 1 commit into
qiniu:masterfrom
wonderflow:fixlogk
Aug 17, 2018
Merged

wonderflow merged 1 commit into
qiniu:masterfrom
wonderflow:fixlogk

Conversation

@wonderflow

Copy link
Copy Markdown
Contributor

Fixes [issue number]

Changes

  • feature1
  • feature2
  • fixbug1
  • fixbug2

Reviewers

  • @[someone] please review
  • @[someotherone] please review

Wiki Changes

  • options1...
  • options2...

Checklist

  • Rebased/mergeable
  • Tests pass
  • Wiki updated

@unknwon

unknwon commented Aug 17, 2018

Copy link
Copy Markdown
Contributor

我觉得这块代码还是需要树伟来review下靠谱点... 我看不太出具体问题

Comment thread parser/qiniu/qiniu.go Outdated
const (
LogFilePattern = ":\\d+:$"

QiniulogHeadPatthern = `[1-9]\d{3}\/[0-1]\d\/[0-3]\d [0-2]\d:[0-6]\d:[0-6]\d(\.\d{6})? \[`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

s/QiniulogHeadPatthern/HeadPatthern/

Comment thread parser/qiniu/qiniu.go Outdated
LogFilePattern = ":\\d+:$"

QiniulogHeadPatthern = `[1-9]\d{3}\/[0-1]\d\/[0-3]\d [0-2]\d:[0-6]\d:[0-6]\d(\.\d{6})? \[`
KeyQiniulogPrefix = "qiniulog_prefix" //qiniulog的日志前缀

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

s/KeyQiniulogPrefix/KeyPrefix/

@unknwon

unknwon commented Aug 17, 2018

Copy link
Copy Markdown
Contributor

LGTM

@wonderflow
wonderflow merged commit fab1e92 into qiniu:master Aug 17, 2018
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.

2 participants