each FlowEntry instance should not have logger instance
Change-Id: Idd47696efa5df7015cb1e5f3d362577194351f0f
Showing
2 changed files
with
2 additions
and
2 deletions
... | @@ -8,7 +8,7 @@ import org.slf4j.Logger; | ... | @@ -8,7 +8,7 @@ import org.slf4j.Logger; |
8 | 8 | ||
9 | public class DefaultFlowEntry extends DefaultFlowRule implements FlowEntry { | 9 | public class DefaultFlowEntry extends DefaultFlowRule implements FlowEntry { |
10 | 10 | ||
11 | - private final Logger log = getLogger(getClass()); | 11 | + private static final Logger log = getLogger(DefaultFlowEntry.class); |
12 | 12 | ||
13 | private long life; | 13 | private long life; |
14 | private long packets; | 14 | private long packets; | ... | ... |
... | @@ -11,7 +11,7 @@ import org.slf4j.Logger; | ... | @@ -11,7 +11,7 @@ import org.slf4j.Logger; |
11 | 11 | ||
12 | public class DefaultFlowRule implements FlowRule { | 12 | public class DefaultFlowRule implements FlowRule { |
13 | 13 | ||
14 | - private final Logger log = getLogger(getClass()); | 14 | + private static final Logger log = getLogger(DefaultFlowRule.class); |
15 | 15 | ||
16 | private final DeviceId deviceId; | 16 | private final DeviceId deviceId; |
17 | private final int priority; | 17 | private final int priority; | ... | ... |
-
Please register or login to post a comment