Skip to content

Change back to string format and only stdout with evalResult#60

Merged
zhouzhuojie merged 1 commit into
masterfrom
zz/es-logging-format
Oct 28, 2017
Merged

Change back to string format and only stdout with evalResult#60
zhouzhuojie merged 1 commit into
masterfrom
zz/es-logging-format

Conversation

@zhouzhuojie
Copy link
Copy Markdown
Collaborator

Use plain text as console stdout, and log data logging with fmt.Println

@zhouzhuojie
Copy link
Copy Markdown
Collaborator Author

example

INFO[0006] started handling request                      method=POST remote="127.0.0.1:58344" request=/api/v1/evaluation
{"FlagEvalResult":{"evalContext":{"enableDebug":true,"entityContext":{"state":"NY"},"entityID":"127","entityType":"user","flagID":2},"evalDebugLog":{"segmentDebugLogs":[{"msg":"matched all constraints. rollout yes. {BucketNum:807 DistributionArray:{VariantIDs:[4] PercentsAccumulated:[1000]} VariantID:4 RolloutPercent:88}","segmentID":2}]},"flagID":2,"segmentID":2,"timestamp":"2017-10-28T00:25:59Z","variantAttachment":{"color":"simple-blue"},"variantID":4,"variantKey":"blue"}}

@zhouzhuojie zhouzhuojie merged commit 52acc88 into master Oct 28, 2017
@zhouzhuojie zhouzhuojie deleted the zz/es-logging-format branch October 28, 2017 00:32
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.

1 participant