all: Remove seelog logger.
The btclog package has been changed to defining its own logging interface (rather than seelog's) and provides a default implementation for callers to use. There are two primary advantages to the new logger implementation. First, all log messages are created before the call returns. Compared to seelog, this prevents data races when mutable variables are logged. Second, the new logger does not implement any kind of artifical rate limiting (what seelog refers to as "adaptive logging"). Log messages are outputted as soon as possible and the application will appear to perform much better when watching standard output. Because log rotation is not a feature of the btclog logging implementation, it is handled by the main package by importing a file rotation package that provides an io.Reader interface for creating output to a rotating file output. The rotator has been configured with the same defaults that btcd previously used in the seelog config (10MB file limits with maximum of 3 rolls) but now compresses newly created roll files. Due to the high compressibility of log text, the compressed files typically reduce to around 15-30% of the original 10MB file.
This commit is contained in:
parent
6589cffb19
commit
a741b4366b
1 changed files with 0 additions and 58 deletions
58
glide.lock
generated
58
glide.lock
generated
|
@ -1,58 +0,0 @@
|
|||
hash: 976decfaf173d97d2e4572399490637aa12e217312a7d8b28813780a738e1151
|
||||
updated: 2018-05-15T19:16:29.311905983-07:00
|
||||
imports:
|
||||
- name: github.com/btcsuite/btclog
|
||||
version: 84c8d2346e9fc8c7b947e243b9c24e6df9fd206a
|
||||
- name: github.com/btcsuite/btcutil
|
||||
version: b9afb0b9868a757e8fcc3c3adf5b129979f9b3e6
|
||||
subpackages:
|
||||
- base58
|
||||
- bech32
|
||||
- bloom
|
||||
- hdkeychain
|
||||
- name: github.com/btcsuite/go-socks
|
||||
version: 4720035b7bfd2a9bb130b1c184f8bbe41b6f0d0f
|
||||
subpackages:
|
||||
- socks
|
||||
- name: github.com/btcsuite/goleveldb
|
||||
version: 7834afc9e8cd15233b6c3d97e12674a31ca24602
|
||||
subpackages:
|
||||
- leveldb
|
||||
- leveldb/cache
|
||||
- leveldb/comparer
|
||||
- leveldb/errors
|
||||
- leveldb/filter
|
||||
- leveldb/iterator
|
||||
- leveldb/journal
|
||||
- leveldb/memdb
|
||||
- leveldb/opt
|
||||
- leveldb/storage
|
||||
- leveldb/table
|
||||
- leveldb/util
|
||||
- name: github.com/btcsuite/snappy-go
|
||||
version: 0bdef8d067237991ddaa1bb6072a740bc40601ba
|
||||
- name: github.com/btcsuite/websocket
|
||||
version: 31079b6807923eb23992c421b114992b95131b55
|
||||
- name: github.com/btcsuite/winsvc
|
||||
version: f8fb11f83f7e860e3769a08e6811d1b399a43722
|
||||
subpackages:
|
||||
- eventlog
|
||||
- mgr
|
||||
- registry
|
||||
- svc
|
||||
- winapi
|
||||
- name: github.com/davecgh/go-spew
|
||||
version: 8991bc29aa16c548c550c7ff78260e27b9ab7c73
|
||||
subpackages:
|
||||
- spew
|
||||
- name: github.com/jessevdk/go-flags
|
||||
version: 1679536dcc895411a9f5848d9a0250be7856448c
|
||||
- name: github.com/jrick/logrotate
|
||||
version: a93b200c26cbae3bb09dd0dc2c7c7fe1468a034a
|
||||
subpackages:
|
||||
- rotator
|
||||
- name: golang.org/x/crypto
|
||||
version: 1a580b3eff7814fc9b40602fd35256c63b50f491
|
||||
subpackages:
|
||||
- ripemd160
|
||||
testImports: []
|
Loading…
Reference in a new issue