Merge pull request #75 from ava-labs/log-sn-to-chain

Change "SN" to "chain" in chain log messages
This commit is contained in:
Stephen Buttolph 2020-04-19 12:46:16 -04:00 committed by GitHub
commit 1f09512250
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ func (f *factory) Make() (Logger, error) {
// MakeChain ...
func (f *factory) MakeChain(chainID ids.ID, subdir string) (Logger, error) {
config := f.config
config.MsgPrefix = "SN " + chainID.String()
config.MsgPrefix = "chain " + chainID.String()
config.Directory = path.Join(config.Directory, "chain", chainID.String(), subdir)
log, err := New(config)