[Logwatch-Devel] Patch for logwatch to have HTML report or HTML embedded email

Paweł Gołaszewski blues at ds.pg.gda.pl
Mon Aug 16 00:39:09 MST 2004


On Fri, 6 Aug 2004 Laurent.Dufour at havasit.com wrote:
> Hi Guys,
> 
> As I have seen a few days ago that you asked for logwatch to bring HTML.
> Here is what i have done so far,
[...]
> And then I coded...
> 
> Now you have a new option ( --output) with 4 possible parameters (html,
> html-embed, mail, and unformatted) By default it's unformatted, you will
> then have your usual report via mail or on the screen with the --print
> option set If you set --output to html you will have an HTML report as
> an attachment in your mail If you set --output to html-embed you will
> have an embedded HTML report within an email with the mime settings
> already made , logwtach will send it using sendmail instead of the
> regular mailer. If you set --output to mail you will have an usual text
> report , but as an attachment in your mail.

I like it very much :)

-- 
pozdr.  Pawe³ Go³aszewski 
---------------------------------
My jsme borgové. Odpor je marný, budete asimilováni...


More information about the Logwatch-Devel mailing list