[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Log message to screen - possible in Weblogic, is it poss

valatharv do-not-reply at jboss.com
Thu Mar 12 11:24:00 EDT 2009


Thanks for the reply.

We are generating application logs correctly using log jboss-log4j.xml

Log file is generated under 
"C:\jboss-4.2.3\server\default\log\.log"

Sample jboss-log4j content from dev machine.
<appender name="aTPPiclMetaDataSeam_FILE" class="org.jboss.logging.appender.RollingFileAppender">
  |      <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
  | 	 <param name="Threshold" value="DEBUG"/>
  |      <param name="File" value="${jboss.server.log.dir}/<appSepcific>.log"/>
  |      <param name="Append" value="true"/>
  |      <param name="MaxFileSize" value="10240KB"/>
  |      <param name="MaxBackupIndex" value="2"/>
  |      <layout class="org.apache.log4j.PatternLayout">
  |        <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
  |      </layout>	    
  |    </appender>

What we need is Admin should be able to see .log on BROWSER using some url.

I have seen this done by Weblogic serv admins., they provided us the url and we were able to see any log generation on Browser.

May be it is very simple but I need to investigate more.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217528#4217528

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4217528



More information about the jboss-user mailing list