<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
hi,<br><br>I have syslog-ng on a server (debian Etch), and a client with syslog (ubuntu)<br><br>my server configuration is :<br><br>source s_local { internal(); unix-stream("/dev/log"); file("/proc/kmsg" log_prefix("kernel: ")); };<br>source s_tcpmessages { tcp(ip(x.x.x.Y)port(514) max-connections(100)); };<br>source s_udpmessages { udp(ip(x.x.x.Y)port(514)); };<br> <br>destination d_hosts { file("/log1/HOSTS/$HOST/$YEAR.$MONTH.$DAY/$FACILITY.log"); };<br> <br>destination d_mysql {<br>program("/usr/bin/mysql -usyslogadmin -p3rda!mysql syslog" template("INSERT INTO logs (host, facility, priority, level, tag, datetime, program, msg) VALUES ( '$HOST', '$FACILITY', '$PRIORITY', '$LEVEL', '$TAG', '$YEAR-$MONTH-$DAY $HOUR:$MIN:$SEC', '$PROGRAM', '$MSG' );\n") template-escape(yes)); };<br> <br>log { source(s_local); destination(d_hosts); };<br>log { source(s_tcpmessages); destination(d_hosts); };<br>log { source(s_udpmessages); destination(d_hosts); };<br>log { source(s_local); destination(d_mysql); };<br><br><br>my client syslog is<br>*.*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; @x.x.x.Y<br><br>I don't understand :<br>1- why i see only (auth, mail, cron,syslog,kern.log) on&nbsp; destination d_hosts for the server? I need to have (user,dkpg.log ,..) <br>2-&nbsp; ON the server in destination d_hosts, i have  (auth, mail, cron,syslog,kern.log) for my client, but&nbsp; why&nbsp; I can't see my client this on php-syslog-ng&nbsp; interface ?<br>What'is wrong?<br>nr<br><br><br /><hr />Appelez vos amis de PC à PC -- C'EST GRATUIT <a href='http://get.live.com/messenger/overview' target='_new'>Téléchargez Messenger, c'est gratuit !</a></body>
</html>