mirror of
https://github.com/alice-lg/alice-lg.git
synced 2024-05-11 05:55:03 +00:00
Merge pull request #148 from johannesmoos/jmo/birdwatcher-source-logging
Remove multi_table specific log output when using single_table birdwatcher sources
This commit is contained in:
@@ -795,15 +795,14 @@ func getSources(config *ini.File) ([]*SourceConfig, error) {
|
||||
}
|
||||
srcCfg.Birdwatcher = c
|
||||
|
||||
log.Println("Adding birdwatcher source",
|
||||
c.Name, "of type", sourceType,
|
||||
"with peer_table_prefix", peerTablePrefix,
|
||||
"and pipe_protocol_prefix", pipeProtocolPrefix)
|
||||
if c.AltPipeProtocolSuffix != "" {
|
||||
log.Println(
|
||||
"Alt pipe protocol prefix:", c.AltPipeProtocolPrefix,
|
||||
"suffix:", c.AltPipeProtocolSuffix,
|
||||
)
|
||||
log.Println("Adding birdwatcher source", c.Name, "of type", sourceType)
|
||||
if sourceType == "multi_table" {
|
||||
log.Println(" Peer table prefix:", peerTablePrefix)
|
||||
log.Println(" Pipe protocol prefix:", pipeProtocolPrefix)
|
||||
if c.AltPipeProtocolSuffix != "" {
|
||||
log.Println(" Alternative pipe protocol prefix:", c.AltPipeProtocolPrefix)
|
||||
log.Println(" Alternative pipe protocol suffix:", c.AltPipeProtocolSuffix)
|
||||
}
|
||||
}
|
||||
|
||||
case SourceBackendGoBGP:
|
||||
|
||||
Reference in New Issue
Block a user