0 Replies Latest reply on Feb 7, 2011 1:10 PM by d3dcon

    Jboss 5.1.0 redirect logs

    d3dcon

      Hi,

       

      our developers are using jboss 5.1.0,

      we are looking for a way to redirect the server.log to syslog,

      that is, log to a syslog facility LOCAL5.* all messages > INFO.

       

      this is our jboss-log4j.xml: http://pastebin.com/SR1zHVwk

      syslogd is working and when i do something like logger -p local5.info "text" i am able to see this in the /var/log/jboss.log

      which i configured syslog to point to.

       

      firstly, i would like to see that logs are directed to syslog and that /var/log/jboss.log is indeed beeing written

      in the current state, nothing happens...

      if that works i would like to redirect these logs to another machine running syslog.

       

       

      Thanks in advance,

       

      David.