1 在代碼裏sql
public static Logger log = Logger.getLogger(MyJsonRender.class);框架
log.info("<<<<<<<<<<<<<<<<<<<<<<<<<");spa
2 log4j配置,加上info日誌
log4j.rootLogger=Info, ERROR, stdout, fileget
http://www.jfinal.com/share/324class