Resin permette di configurare l'output ottenuto dalle api java.util.logging.* nel file di configurazione resin-web.xml:
<resin:set var="logpath" value="~/logs/" />
<resin:set var="logfile" value="${logpath}${app.name}.log" />
<resin:set var="tmstamp" value="[%Y/%m/%d %H:%M:%S.%s]" />
<log name="${app.name}" level="info" path="${logfile}" timestamp="${tmstamp}" size="100mb" format=" ${fmt.sprintf('%-7s %-35s %s',log.level,log.loggerName,log.message)}">
<logger name="net.sf.j2ep" level="fine" />
<logger name="com.opensymphony.oscache" level="info" />
</log>
i miei bookmark
- http://aros.sourceforge.net/
- http://blogs.sun.com/jluehe/
- http://blogs.sun.com/openmessagequeue/
- http://blogs.sun.com/theaquarium/
- http://java.net/
- http://jqueryfordesigners.com/
- http://planets.sun.com/OpenSSO/group/blogs/
- http://www.caucho.com/
- http://www.noupe.com/
- http://www.osnews.com/
- http://www.theserverside.com/
- http://www.webappers.com/
- http://www.webresourcesdepot.com/
- https://glassfish.dev.java.net/
- https://mq.dev.java.net/
- https://open-esb.dev.java.net/
- https://opends.dev.java.net/
- https://opensso.dev.java.net/
martedì, febbraio 20, 2007
Resin e Jdk Logging
Iscriviti a:
Commenti sul post (Atom)
Nessun commento:
Posta un commento