<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<style>.hmmessage P{margin:0px;padding:0px}body.hmmessage{FONT-SIZE: 10pt;FONT-FAMILY:Tahoma}</style>Hi,<br><br>> Well, /dev/log shouldn't be a directory. It should be a socket which programs could use by calling openlog/sendlog libc functions. syslog-ng will create the socket for you, you shouldn't do it yourself.<br><br>I setup syslog-ng.conf with this setings to let create the stream:<br><br>source src_chroot_appli { unix-stream("/var/appli/dev/log"); };<br><br>It works and create the socket.<br><br>then i config the application log stream path to /dev/log (as the application is chrooted, the root directory is already /var/appli, so logging to /dev/log is ok )<br><br>then the configuration to log it in the appli.log file in the /var/log/ outside the chroot :<br><br>destination appli_log { file("/var/log/appli.log"); };<br><br>then<br><br>log { source(src_chroot_appli); destination(appli_log); };<br><br>But nothing is created in the /var/log directory (outside chroot).<br><br>Btw: syslog-ng version is 1.6.9<br><br>Best regards,<br><br>S.Gautch<br><br /><hr />Tous vos amis discutent sur Messenger, et vous ? <a href='http://www.windowslive.fr/messenger/' target='_new'>Téléchargez Messenger, c'est gratuit !</a></body>
</html>