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 !

> Replace "{1}" by regular expression which matches the part you want to
> highlight in addition to the "name=", maybe "[^ ]*" to highlight up to
> the next space.
>
>> Could some one please suggest a suitable tool as I've tried some project but
>> the hardly work.
>
> "man grep"
>
> Cheers,
>
> --Amos
>




-- 
Cheers,
Maxim Veksler

"Free as in Freedom" - Do u GNU ?

=================================================================
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

Reply via email to