<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>@@weblog</title>
<meta http-equiv=content-type content="text/html; charset=ISO-8859-1" />
</head>
<body>
<!-- This must be in the body, because some webmail GUIs ignore the head-->
<style type="text/css">
body {
margin: 0px;
padding: 20px;
background: #FFF;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 62.5%;
}
#container {
margin: 20px;
padding: 10px;
background: #FFF;
border:solid 1px #556B2F;
}
div.header {
font-size: 1.5em;
font-weight: bold;
text-align: center;
background: #FFF;
color: #556B2F;
}
div.subhead {
font-size: 1.5em;
font-weight: bold;
text-align: center;
background: #FFF;
color: #CCC;
}
h1 {
border-top:dotted 1px #556B2F;
padding-top: 20px;
font-size: 1.4em;
font-family: Garamond, Georgia, Verdana, serif;
color: #556B2F;
}
h2 {
font-size: 1.2em;
font-weight: bold;
}
h3 {
font-size: 1.0em;
font-weight: bold;
}
a:link {
color: #556B2F;
text-decoration: none;
}
a:hover {
color: #758575;
text-decoration: none;
}
.subscriptionDetails {
margin: 20px 0;
font-size: 1em;
font-family: "Lucida Sans Unicode", Tahoma, Arial, sans-serif;
color: #000;
}
</style>
<div id="container">
<div class="header">
Bazsi's blog
</div>
<div class="subhead">
August 16, 2010 19:52
</div>
<div class="subscriptionDetails">
You have subscribed to these e-mail notices about new posts to the blog.<br />
If you want to change your settings or unsubscribe please visit:<br />
<a href="?code=b9c6b9e7feee88f73f17abce49f5957b&addr=syslog-ng%40lists.balabit.hu&">?code=b9c6b9e7feee88f73f17abce49f5957b&addr=syslog-ng%40lists.balabit.hu&</a><br />
</div>
<h1><a href="http://bazsi.blogs.balabit.com/2010/08/pdbtool-test-improvements/">pdbtool test improvements</a></h1>
<p>I have added some more functionality to “pdbtool test” which I needed while working on the <a href="http://git.balabit.hu/?p=bazsi/syslog-ng-patterndb.git;a=blob;f=README.txt;hb=HEAD">official syslog-ng patterndb</a> patterns. It now can process several pdb files in a single invocation and also it is now able to validate the patterndb XML files against the official schema.</p>
<p>This is the shell command I’ve used:</p>
<pre>$ pdbtool test --validate `find . -name *.pdb`</pre>
<p>If you compiled the alpha2 release, this is only one patch on top of that, so it should be simple. You can check out the patch <a href="http://git.balabit.hu/?p=bazsi/syslog-ng-3.2.git;a=commitdiff;h=08bebc2ac9df270a0acece10cd05c2657da18637;hp=e732cb39259b60b4b1f09183ba0b380f328b73f3">here</a>.</p>
</div>
</body>
</html>