Suppressing API logging messages for announce/withdrawal

19 views
Skip to first unread message

elsif gaming

unread,
Jan 31, 2025, 2:28:50 PMJan 31
to exabgp-users
exabgp.log filling up with a new announcement line every single time the api process is run to check the health of a thing....

-rw-r----- 1 syslog adm 5416601677 Jan 31 18:28 /var/log/exabgp/exabgp.log

Lines look like this...

Jan 31 18:25:22 ns01 exabgp[3320867]: api           route added to neighbor 172.16.179.1 local-ip 172.16.179.2 local-as (snip)
Jan 31 18:25:22 ns01 exabgp[3320867]: api           route added to neighbor 172.16.179.1 local-ip 172.16.179.2 local-as (snip)
Jan 31 18:25:22 ns01 exabgp[3320867]: api           route added to neighbor 172.16.179.1 local-ip 172.16.179.2 local-as (snip)

I tried hanging exabgp.env from "level INFO" to "level CRITICAL", but that kicks up python errors.

We're using version...

# exabgp -v
ExaBGP : 4.2.17
Python : 3.10.12 (main, Jan 17 2025, 14:35:34) [GCC 11.4.0]

...which I know is a bit behind at this point, but I haven't found any documentation that says upgrade is a required path to solving this.

Found another page via Google search that says that the api maybe doesn't adhere to the logging level settings anyways...

So...any guidance for how to suppress this constant stream of messages?

Thanks,
-jake
Reply all
Reply to author
Forward
0 new messages