DUBBO-48 accesslogFilter NPE

git-svn-id: http://code.alibabatech.com/svn/dubbo/trunk@234 1a56cb94-b969-4eaa-88fa-be21384802f2
This commit is contained in:
tony.chenl 2011-11-10 12:49:00 +00:00
parent bb3fe6d19b
commit 068a7d99e7
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ public class AccessLogFilter implements Filter {
Set<String> logSet = entry.getValue();
File file = new File(accesslog);
File dir = file.getParentFile();
if (! dir.exists()) {
if (null!=dir&&! dir.exists()) {
dir.mkdirs();
}
if (logger.isDebugEnabled()) {