<div>destination r_dest  {<br>file(&quot;/u01//$HOST_FROM/messages.$YEAR.$MONTH.$DAY.$HOUR&quot;<br>owner(root) group(test) perm(0640)<br>template(&quot;|${S_FULLDATE}|${ETYPE}|${EHOSTNAME}|${ESOURCE}|${EOUTCOME}|${EMSG}|${EUSERID}\n&quot;)<br>
 );    };<br></div>
<div> </div>
<div>Here you go..</div>
<div> </div>
<div>Also how to control the java stack trace exception that I receive in EMSG COLUMN  in the above.<br><br></div>
<div class="gmail_quote">On Thu, Jun 5, 2014 at 8:53 PM, Jim Hendrick <span dir="ltr">&lt;<a href="mailto:jrhendri@roadrunner.com" target="_blank">jrhendri@roadrunner.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div text="#000000" bgcolor="#FFFFFF">we would need to see the destination definition to assist<br><br>Jim 
<div>
<div class="h5"><br><br><br>
<div>On 06/05/2014 01:59 PM, Justin B wrote:<br></div></div></div>
<blockquote type="cite">
<div>
<div class="h5">
<div><br clear="all">Hi</div>
<div> </div>
<div>When I receive the application messaged from a different server to my syslog-ng server it is trying to create the messages under the directory name with IP address instead of the Application Server Hostname.</div>
<div>What can be done baout this??</div>
<div> </div>
<div>i used the following options in syslog-ng.conf</div>
<div> </div>
<div>options {<br>          use_fqdn(no);<br>          flush_lines(0);<br>          keep_hostname(yes);<br>          check_hostname(yes);<br>          chain_hostnames(yes);<br>          create_dirs(yes);<br>          dir_owner(root);<br>
          dir_group(test);<br>          dir_perm(0750);<br>          #use_dns(persist_only);<br>          use_dns(yes);<br>          #dns_cache_hosts(/etc/hosts);<br>          dns_cache(yes);<br>          dns_cache_expire(87600);<br>
          ts_format(iso);<br>#         keep_timestamp(no);<br>        };<br><br>-- </div>
<div> </div>
<div>Appreciate your quick help..</div>
<div> </div>
<div> </div>
<div><br>Kaladhar </div><br>
<fieldset></fieldset> <br></div></div><pre>______________________________________________________________________________
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a>

</pre></blockquote><br></div><br>______________________________________________________________________________<br>Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br><br></blockquote></div><br><br clear="all"><br>-- <br>Kaladhar