Re: [systemd-devel] Fwd: Remove specific journal file filter

2021-06-16 Thread Vito Caputo
On Wed, Jun 16, 2021 at 11:24:55PM +0530, mihir bhatt wrote: > Hi Team, > > I am using *sd_journal_add_match()* API to add filter into journal files. > Is there any way to remove/modify existing filter rather than remove all > using *sd_journal_flush_matches().* > > *For example :* > > Current

[systemd-devel] Fwd: Remove specific journal file filter

2021-06-16 Thread mihir bhatt
Hi Team, I am using *sd_journal_add_match()* API to add filter into journal files. Is there any way to remove/modify existing filter rather than remove all using *sd_journal_flush_matches().* *For example :* Current method: To remove F_3 : sd_journal_add_match( j , "F_1" , 4);