• Tryptaminev@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Please excuse my ignorance, but what is grep, what are the do’s and dont’s of logging and why are people here talking about having an entire team maintain some pipeline just to handle logs?

    • rodbiren@midwest.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      It’s a command line tool which filters for all lines containing the query. So something like

      cat log.txt | grep Error5

      Would output only lines containing Error5