Skip to content

Commit

Permalink
Extracted logging to seperate repo, now we should use it
Browse files Browse the repository at this point in the history
  • Loading branch information
Dino Omanovic committed Jul 10, 2017
1 parent f05f8e2 commit e2102e0
Show file tree
Hide file tree
Showing 16 changed files with 8 additions and 948 deletions.
2 changes: 1 addition & 1 deletion cache/cache.go
Expand Up @@ -3,7 +3,7 @@ package cache
import (
"github.com/tarent/logrus"
"github.com/hashicorp/golang-lru/simplelru"
"github.com/tarent/lib-compose/logging"
"github.com/tarent/go-log-middleware/logging"
"sync"
"time"
)
Expand Down
2 changes: 1 addition & 1 deletion cache/cache_strategy.go
Expand Up @@ -4,7 +4,7 @@ import (
"crypto/md5"
"encoding/hex"
"github.com/pquerna/cachecontrol/cacheobject"
"github.com/tarent/lib-compose/logging"
"github.com/tarent/go-log-middleware/logging"
"github.com/tarent/lib-compose/util"
"net/http"
)
Expand Down
2 changes: 1 addition & 1 deletion composition/cache_invalidation_handler.go
@@ -1,7 +1,7 @@
package composition

import (
"github.com/tarent/lib-compose/logging"
"github.com/tarent/go-log-middleware/logging"
"net/http"
"strings"
)
Expand Down
2 changes: 1 addition & 1 deletion composition/cache_loader.go
Expand Up @@ -2,7 +2,7 @@ package composition

import (
"bytes"
"github.com/tarent/lib-compose/logging"
"github.com/tarent/go-log-middleware/logging"
"io"
"io/ioutil"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion composition/composition_handler.go
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"strings"

"github.com/tarent/lib-compose/logging"
"github.com/tarent/go-log-middleware/logging"
)

// A ContentFetcherFactory returns a configured fetch job for a request
Expand Down
2 changes: 1 addition & 1 deletion composition/content_fetcher.go
Expand Up @@ -2,7 +2,7 @@ package composition

import (
"errors"
"github.com/tarent/lib-compose/logging"
"github.com/tarent/go-log-middleware/logging"
"sort"
"sync"
)
Expand Down
2 changes: 1 addition & 1 deletion composition/file_content_loader.go
Expand Up @@ -3,7 +3,7 @@ package composition
import (
"errors"
"fmt"
"github.com/tarent/lib-compose/logging"
"github.com/tarent/go-log-middleware/logging"
"os"
"path/filepath"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion composition/http_content_loader.go
Expand Up @@ -3,7 +3,7 @@ package composition
import (
"errors"
"fmt"
"github.com/tarent/lib-compose/logging"
"github.com/tarent/go-log-middleware/logging"
"github.com/tarent/lib-servicediscovery/servicediscovery"
"io/ioutil"
"net"
Expand Down
4 changes: 0 additions & 4 deletions logging/README.md

This file was deleted.

39 changes: 0 additions & 39 deletions logging/correlation_id.go

This file was deleted.

82 changes: 0 additions & 82 deletions logging/log_middleware.go

This file was deleted.

79 changes: 0 additions & 79 deletions logging/log_middleware_test.go

This file was deleted.

0 comments on commit e2102e0

Please sign in to comment.