diff options
author | sebright <sebright@google.com> | 2018-07-24 11:58:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-24 11:58:14 -0700 |
commit | bbe4ffce8c5de9d521afad15245afeb873587c42 (patch) | |
tree | 66ce632a79ab65f2e67679bb4452c7365fd88633 | |
parent | c7d36a032733ffbc81927086fe187ab41db452ad (diff) | |
download | opencensus-java-bbe4ffce8c5de9d521afad15245afeb873587c42.tar.gz |
Add links to google-cloud-logging log correlation examples. (#1339)
-rw-r--r-- | contrib/log_correlation/stackdriver/README.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/log_correlation/stackdriver/README.md b/contrib/log_correlation/stackdriver/README.md index b650cc8e..20dc2592 100644 --- a/contrib/log_correlation/stackdriver/README.md +++ b/contrib/log_correlation/stackdriver/README.md @@ -106,6 +106,10 @@ It specifies the `LoggingEnhancer` class and sets both optional properties: </configuration> ``` +See +https://github.com/census-ecosystem/opencensus-experiments/tree/master/java/log_correlation/stackdriver/logback +for a full example. + #### `java.util.logging` with `google-cloud-logging` `LoggingHandler` The `LoggingHandler` should already be configured in a logging `.properties` file, as described in @@ -128,6 +132,10 @@ io.opencensus.contrib.logcorrelation.stackdriver.OpenCensusTraceLoggingEnhancer. io.opencensus.contrib.logcorrelation.stackdriver.OpenCensusTraceLoggingEnhancer.projectId=my-project-id ``` +See +https://github.com/census-ecosystem/opencensus-experiments/tree/master/java/log_correlation/stackdriver/java_util_logging +for a full example. + #### Custom `google-cloud-logging` adapter The `google-cloud-logging` adapter needs to instantiate the `OpenCensusTraceLoggingEnhancer`, |