2008/9/4 Maxim Veksler <[EMAIL PROTECTED]>:
> Hi Amos,
>
> On Thu, Sep 4, 2008 at 2:05 PM, Amos Shapira <[EMAIL PROTECTED]> wrote:
>> 2008/9/4 Maxim Veksler <[EMAIL PROTECTED]>:
>>> Hi,
>>>
>>> Someone has a good recommendation for a log syntax highlighter ?
>>>
>>> I have my application logs where I need to quickly highlight some text, in
>>> that case "name=" the output is verbose as I'm running in TRACE.
>>
>> "grep --color --name={1}"
>>
>
> That would actually be great and is exactly the kind of solution I'm
> searching for. The only problem with the grep --color apporoach is
> that It would only show me the lines that contain the search term. I
> want to see the whole scrolling log and highlight what interested me.
>
> Thanks !

Uhh, forgot about that part (I use "grep -color" and it was good for
my needs) but I DID forward you to "man grep" didn't I?
maybe one of the "*-context" options (look for "Context Line Control"
in the manual) help you get what you are after.

Cheers,

--Amos

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

  • Color ... Maxim Veksler
    • R... Moish
      • ... Maxim Veksler
      • ... Yaacov Fenster - System Engineering Troubleshooting and other stuff
    • R... Amos Shapira
      • ... Maxim Veksler
        • ... Amos Shapira
          • ... Amos Shapira
            • ... Shlomi Fish
              • ... Maxim Veksler
                • ... Shlomi Fish
        • ... Tzafrir Cohen
          • ... Amos Shapira
            • ... Tzafrir Cohen
              • ... Maxim Veksler
                • ... Amos Shapira
            • ... Maxim Veksler

Reply via email to