Re: emerge log time range

"MrC" <[email protected]>
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <000001c7489d$86fd21b0$0a02a8c0@yellowstone>
> -----Original Message-----
> Subject: [Logwatch-Devel] emerge log time range
> 
> Hello,
> 
> I'm pretty know to logwatch, but I think there's a problem 
> with the emerge scripts.  I have logwatch set up to run 
> hourly, but it appears as though the final report contains 
> information from the emerge.log file for the past day.  Am I 
> right, or am I missing/misconfiguring something?
> 
> Thanks,
> Jason

Jason,

The emerge script appears to search for the day selected via --range
(default yesterday), regardless of hour, etc.

You can see this in the script:

 /usr/share/logwatch/scripts/logfiles/emerge/applydate

as the TimeFilter is looking for dates matching "%b %d, %Y", which is Mon
Day, Year.

MrC
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.