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:
parent
bb3fe6d19b
commit
068a7d99e7
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue