[Bug 234926] Re: logwatch missing conf files

Manson Thomas dev.mansonthomas at gmail.com
Thu Jan 14 15:18:32 GMT 2010


workaround :

create the missing file in /usr/share/logwatch/default.conf/html/.

here is one I've got in my server :


footer.html
###############################################################
<!-- Start footer.html -->
<div class=\"copyright\">
<hr>
<p>Logwatch &copy;Copyright 2002-2006 Kirk Bauer</p>
<p>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
</p>
<p>
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
</p>
<p>
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
</p></div>
</body></html>
###############################################################

header.html
###############################################################
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>Logwatch  $Version  ( $VDate )</title>
<meta name="generator" content="Logwatch  $Version ( $VDate )">
<style type="text/css">
  h1 {color: gray; border-bottom: 3px double silver; font-family: sans-serif; }
  h2 {color: white; border-bottom: 1px solid silver; font-family: sans-serif; }
  h3 {color: white; border-bottom: 1px solid silver; font-family: sans-serif; }
  th {background: #6D88AD; text-align: left; font-family: sans-serif; }
  td {background: #EFEFEF; text-align: left; font-family: courier,serif; font-size: 10px; }
  li { font-family: sans-serif; }
  .ref {padding-left: 1%; }
  .service {padding-left: 1%; }
  .return_link {border-top: 1px; border-bottom: 1px;
  padding: 1%; margin-top: 1%; margin-bottom: 1%; font-family: sans-serif; }
  .copyright {color: black; border-top: 1px solid grey;
  border-bottom: 1px solid grey;
  padding: 1%; margin-top: 1%; margin-bottom: 1%;}
</style>
</head>
<body style="width:90%; margin-left: 5%; margin-right: 5%" bgcolor="#FFFFFF" >
<hr>
<!-- End header.html -->
###############################################################

-- 
logwatch missing conf files
https://bugs.launchpad.net/bugs/234926
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to logwatch in ubuntu.



More information about the Ubuntu-server-bugs mailing list