Skip to content

Commit

Permalink
maybe adding this perl script will stop logging /var/log/messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl Anderson committed Mar 20, 2015
1 parent 992d2d1 commit 1efc408
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions asteriskserver/src/logwatch/scripts/services/openvpn
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
while (defined($ThisLine = <STDIN>)) {
# Report any unmatched entries...
push @OtherList,$ThisLine;
}

if ($#OtherList >= 0) {
print "\n**Unmatched Entries**\n";
print @OtherList;
}

exit(0);

0 comments on commit 1efc408

Please sign in to comment.