if i'm tagging my logs with -t, how do i filter my log searches for that specific tag?


logger -t specificUser

show it (in real time) with

tail -f ???? specificUser
  • Tried to pipe it through grep? Might need to experiment with buffering... – RudiC Apr 9 '20 at 10:14
  • Given that your syslog configuration could direct those messages to any various file, I think the first step would be finding the right file(s). Are you always sending to the same facility with the same priority? – Jeff Schaller Apr 9 '20 at 12:28
  • @JeffSchaller you're 100% right, I should be piping to another log file. thank you! – Sam Sammy Apr 10 '20 at 2:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.