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
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);