Guest User

logwatch fix

a guest
Apr 29th, 2012
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.59 KB | None | 0 0
  1. diff --git a/default.conf/logfiles/daemon.conf b/default.conf/logfiles/daemon.conf
  2. index bedefaf..118375b 100644
  3. --- a/default.conf/logfiles/daemon.conf
  4. +++ b/default.conf/logfiles/daemon.conf
  5. @@ -14,6 +14,7 @@
  6.  
  7.  LogFile = daemon.log
  8.  LogFile = daemon.log.0
  9. +Archive = deamon.log.*
  10.  Archive = daemon.log.*.gz
  11.  *ExpandRepeats
  12.  *ApplyStdDate
  13. diff --git a/default.conf/logfiles/dpkg.conf b/default.conf/logfiles/dpkg.conf
  14. index 5d4f0b0..20ef35f 100644
  15. --- a/default.conf/logfiles/dpkg.conf
  16. +++ b/default.conf/logfiles/dpkg.conf
  17. @@ -16,6 +16,7 @@ LogFile = dpkg.log.1
  18.  # (optionally containing wildcards) that tell where they are...
  19.  # Note: if these are gzipped, you need to end with a .gz even if
  20.  #       you use wildcards...
  21. +Archive = dpkg.log.*
  22.  Archive = dpkg.log.*.gz
  23.  
  24.  *ApplyEuroDate
  25. diff --git a/default.conf/logfiles/kernel.conf b/default.conf/logfiles/kernel.conf
  26. index 1101bb5..2443cd8 100644
  27. --- a/default.conf/logfiles/kernel.conf
  28. +++ b/default.conf/logfiles/kernel.conf
  29. @@ -14,6 +14,7 @@
  30.  
  31.  LogFile = kern.log
  32.  LogFile = kern.log.0
  33. +Archive = kern.log.*
  34.  Archive = kern.log.*.gz
  35.  *ExpandRepeats
  36.  *ApplyStdDate
  37. diff --git a/default.conf/logfiles/secure.conf b/default.conf/logfiles/secure.conf
  38. index cced023..bdfa425 100644
  39. --- a/default.conf/logfiles/secure.conf
  40. +++ b/default.conf/logfiles/secure.conf
  41. @@ -21,7 +21,7 @@ LogFile = auth.log.0
  42.  #If you use a "-" in naming add that as well -mgt
  43.  Archive = secure.*
  44.  Archive = archiv/secure.*
  45. -Archive = authlog.*
  46. +Archive = auth.log.*
  47.  Archive = auth.log.*.gz
  48.  
  49.  # Expand the repeats (actually just removes them now)
Add Comment
Please, Sign In to add comment