I'm looking though my logs today and an idea hit me to help minimize the
sizes of the Declude log files.
It would be nice to have a switch to disable logging of non-run filters
that are over my SKIPIFWEIGHT level. To me this is a passed test since
it was never run. I only want to log failed
I working a routing to process the log files for declude. The ultimate
goal is to produce statitics and graphs based on the information from the
log files. I checked the manual and the descripiton for the various log
formats is vague.
Correct. That's because there are somewhere around 1,000
I working a routing
to process the log files for declude. The ultimate goal is to produce
statitics and graphs based on the information from the log files. I
checked the manual and the descripiton for the various log formats is
vague.
WARN (This is in the
current global.cfg, but I see no
extension.
11/07/2004 01:00:47 Qe43e56af00464c1b Scanned: Banned file extension. [MIME:
2 11189]
11/07/2004 01:00:47 Qe43e56af00464c1b From:
[EMAIL PROTECTED] To: [EMAIL PROTECTED]
11/07/2004 01:00:47 Qe43e56af00464c1b Subject: RE: [Declude.JunkMail] LOG
Levels
==
I just happened to retrieve
- Original Message -
From: Bill Landry [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 05, 2004 2:52 AM
Subject: Re: [Declude.JunkMail] LOG Levels
- Original Message -
From: Scott Fisher [EMAIL PROTECTED]
I constantly use this batch file to find in the Declude logs
- Original Message -
From: Serge [EMAIL PROTECTED]
Here is a line that will give me all sessions from a user:
grep MAIL FROM:[EMAIL PROTECTED] D:\log1104.txt | gawk {print $5} |
uniq
test.txt
Now how do I use a pipe or a batch file to get all the lines for all these
sessions in
sessions from the
log files ? (without manually running a grep for each one)
TIA
- Original Message -
From: Bill Landry [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, November 06, 2004 6:40 PM
Subject: Re: [Declude.JunkMail] LOG Levels
- Original Message -
From: Serge
Should i use some kind of FOR instruction in a Windows batch file ?
Sure:
FOR /F %%I IN (file_with_session_IDs) DO grep %%I
log_file_name
All could be compressed into a one-liner, but that isn't necessary.
--Sandy
Sanford
- Original Message -
From: Serge [EMAIL PROTECTED]
Sorry, i may not expressed myself
I need to
grep %variable% ...
Where the variable takes all the values generated by the first grep:
grep MAIL FROM:[EMAIL PROTECTED] D:\log1104.txt | gawk {print $5} |
uniq
Should i use some kind
- Original Message -
From: Serge [EMAIL PROTECTED]
Sorry, i may not expressed myself
I need to
grep %variable% ...
Where the variable takes all the values generated by the first grep:
grep MAIL FROM:[EMAIL PROTECTED] D:\log1104.txt | gawk {print $5} |
uniq
Should i use some kind
bill sandy
thank you both
both method worked
no limit to what one can do with these tools
- Original Message -
From: Bill Landry [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, November 06, 2004 11:27 PM
Subject: Re: [Declude.JunkMail] LOG Levels
- Original Message
PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 05, 2004 2:32 AM
Subject: RE: [Declude.JunkMail] LOG Levels
If you are interested, I have Microsoft Access 2002 VBA code that
imports the logs into Microsoft Access Databases. Link in a SQL
Database instead and you can import to SQL
PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 9:34 PM
Subject: Re: [Declude.JunkMail] LOG Levels
scott
thanks for the offer
i'm more a foxpro guy
but i suppose the access code will be easy to translate
would appreciate if you email the code
- Original Message -
From
I've always used LOGLEVEL HIGH on my systems but I'm reconsidering that
these days since our logs are running 250mb - 350mb.
I use a number of log reports (DLAnalyizer, etc)
If I switch to LOGLEVEL MID will I lose anything in my log reporting utils?
---
[This E-mail was scanned for viruses by
Mark,
You will lose some functionality on log level MID. I am not exactly sure
which reports you are currently running, but if you check out
http://www.invariantsystems.com/dlanalyzer/support.htm it will let you know
which log levels are required for each specific report.
If you need any
My Declude logs at HIGH range between 1.2 and 1.6 GIGABYTES. The log for
11/3 is 1,701,795 KB.
- Original Message -
From: Mark E. Smith [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 9:03 AM
Subject: [Declude.JunkMail] LOG Levels
I've always used LOGLEVEL
.
The problem right now is loading a 350mb (let alone 1.6GB) file with
notepad. :)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glenn \ WCNet
Sent: Thursday, November 04, 2004 3:24 PM
To: [EMAIL PROTECTED]
Subject: Re: [Declude.JunkMail] LOG Levels
My
.
The problem right now is loading a 350mb (let alone 1.6GB) file with
notepad. :)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glenn \ WCNet
Sent: Thursday, November 04, 2004 3:24 PM
To: [EMAIL PROTECTED]
Subject: Re: [Declude.JunkMail] LOG Levels
PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 3:55 PM
Subject: RE: [Declude.JunkMail] LOG Levels
We have 4 inbound equal MX servers each with 250-350 per day so we're about
the same in net-net load.
I started writing a log parsing program that will consolidate the logs
- Original Message -
From: DLAnalyzer Support [EMAIL PROTECTED]
Those are both great tools. My only complaint with BareTail is I get a
lot
of flicker under TS. However, their older wintail has no flicker...
Try the grep and tail tools included with the GNU Win32 UNIX utilities
To: [EMAIL PROTECTED]
Subject: RE: [Declude.JunkMail] LOG Levels
We have 4 inbound equal MX servers each with 250-350 per day so we're
about the same in net-net load.
I started writing a log parsing program that will consolidate the logs
and insert them into a central SQL database.
That way I'll
to (or from) this address?
is there in easy way to do that ?
TIA
- Original Message -
From: Bill Landry [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 9:38 PM
Subject: Re: [Declude.JunkMail] LOG Levels
- Original Message -
From: Mark E. Smith [EMAIL
with
mail to (or from) this address?
is there in easy way to do that ?
TIA
- Original Message -
From: Bill Landry [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 9:38 PM
Subject: Re: [Declude.JunkMail] LOG Levels
- Original Message -
From: Mark E
: [Declude.JunkMail] LOG Levels
My Declude logs at HIGH range between 1.2 and 1.6 GIGABYTES.
The log for
11/3 is 1,701,795 KB.
- Original Message -
From: Mark E. Smith [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 9:03 AM
Subject: [Declude.JunkMail] LOG Levels
- Original Message -
From: Scott Fisher [EMAIL PROTECTED]
I constantly use this batch file to find in the Declude logs.
I change the V_logday to the day of the log to search
and the V_find to the term to find. (It's usual a specific mail id
(Q7172144401ba4a6b or such) and I'll get all
Could you post that please?
Thanks!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Fisher
Sent: Thursday, November 04, 2004 9:32 PM
To: [EMAIL PROTECTED]
Subject: RE: [Declude.JunkMail] LOG Levels
If you are interested, I have Microsoft
imail logs
- Original Message -
From: Bill Landry [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 05, 2004 2:37 AM
Subject: Re: [Declude.JunkMail] LOG Levels
- Original Message -
From: Serge [EMAIL PROTECTED]
Bill
some time ago you mentioned putting together
: [Declude.JunkMail] LOG Levels
- Original Message -
From: Serge [EMAIL PROTECTED]
Bill
some time ago you mentioned putting together a short grep tutorial for
this list
was this ever posted ? if yes, can you email or repost ?
Find it attached to this e-mail.
what would be a short grep batch
: [Declude.JunkMail] LOG Levels
If you are interested, I have Microsoft Access 2002 VBA code that imports
the logs into Microsoft Access Databases. Link in a SQL Database instead
and you can import to SQL I presume.
This code has been working pretty well for months for me.
I have individual code
Scott,
Would it be possible to get a little more info on what is logged at the
different levels, ERROR, WARNING, and DEBUG are pretty self explanatory,
and probably rarely used, but I'm unclear on the differences between
LOW, MID, and HIGH.
Thanks,
Chuck Frolick
ArgoNet, Inc.
---
[This E-mail
Would it be possible to get a little more info on what is logged at the
different levels, ERROR, WARNING, and DEBUG are pretty self explanatory,
and probably rarely used, but I'm unclear on the differences between
LOW, MID, and HIGH.
ERROR, WARNING, and DEBUG are normally not used except in
. Scott Perry
Sent: Monday, December 23, 2002 11:39 AM
To: [EMAIL PROTECTED]
Subject: Re: [Declude.JunkMail] Log Levels
Would it be possible to get a little more info on what is logged at the
different levels, ERROR, WARNING, and DEBUG are pretty self
explanatory,
and probably rarely used, but I'm
32 matches
Mail list logo