Maxim Veksler wrote:
On Thu, Sep 4, 2008 at 1:45 PM, Moish <[EMAIL PROTECTED]> wrote:
Maxim Veksler wrote:
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.
Could some one please suggest a suitable tool as I've tried some project but
the hardly work.
{..}
If it's formatted ( or would be since it's your application ):
1. Add relevant syntax for vt100 terminal or the likes and display the
output on such a terminal ( dah.. )
2. Import into a spreadsheet.
3. For large amounts of data, import into a db, postgres or whatever.
Hmmm, well no. I mean more as a tool I would use for debugging during
development. Something that would allow me to do :
tail -F /var/log/MyApp/DCN.log | SuperSyntaxHighlighter
-SearchForWord="^regexOrSomething" -SearchForWordColor="#FF0000"
I need something would allow me to highlight arbitrary terms in the
log. Now I'm searching for "Name" tomorrow I might be search for
"objectId". I need a "quick and dirty" solution. Thank you ;)
{..}
Well, you gave the answer.
sed 's/SuperSyntaxHighlighter/sed/' :)
use also grep/perl/whatever
Moish
=================================================================
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]