<div>Hum, I don't want log in a directory but i wan't log the content of a directory.</div>
<div> </div>
<div>This directory change with the apparition of new files every second and i must redirect this flow thruth a syslog-ng client to a syslog-ng serveur and this server organize data with the rules you describe.<br><br> </div>
<div><span class="gmail_quote">2007/7/16, <a href="mailto:Valdis.Kletnieks@vt.edu">Valdis.Kletnieks@vt.edu</a> <<a href="mailto:Valdis.Kletnieks@vt.edu">Valdis.Kletnieks@vt.edu</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Mon, 16 Jul 2007 09:38:08 +0200, =?ISO-8859-1?Q?Nicolas_de_Marqu=E9_-_Fromentin?= said:<br><br>> I must log files in a directory
<br>><br>> The rules are :<br>><br>> - this files are created with a name that i must to redirect to<br>> syslog-ng.<br>> - i must redirect a file just after his creation<br>><br>> Do you know a solution that can that can resolve this problem.
<br><br>Are you unable to use the syslog-ng facility for constructing the pathname<br>of the logfile? It allows things like:<br><br>destination d_auth { file("/logs/$HOST/$YEAR/$MONTH/seclog-$YEAR-$MONTH$DAY"); };
<br><br>and there's a *lot* of other variables you can include in there. Or am I<br>totally failing to understand the problem?<br><br><br><br></blockquote></div><br>