您可以设定记录参数,来限制记录档的大小,并为每一天建立新的记录档。
You can set the logging parameters to limit the size of the log file and create a new log for each day.
在框架的1.3版本中,用单一aspect代替了这80多个调用,该A spect自动记录参数和返回值以及方法入口和出口。
In version 1.3 of the framework, these 80 calls have been replaced with a single aspect that automatically logs both parameters and return values along with method entries and exits.
因此,如果您的应用程序调用具有罕见长事务的文件,根据您的日志设置包含频繁的提交操作,或者更新数据库日志记录参数,也许是好办法。
So if your application calls a file that has unusually long transactions, it may be wise to include frequent commits based upon your log Settings, or to update your database logging parameters.
应用推荐