Skip to content

Commit

Permalink
Fixed default graph issue #68
Browse files Browse the repository at this point in the history
  • Loading branch information
lroffia committed Jun 25, 2021
1 parent f4ddbf8 commit 8e38422
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@ public synchronized static Collection<SPU> filterOnGraphs(InternalUpdateRequest

// All graphs: NO FILTER
// TODO: default graph?
if (context.contains("*") || target.contains("*")) {
if (context.isEmpty() && target.isEmpty()) {
// DEFAULT GRAPHs
ret.add(requests.get(sub));
}
else if (context.contains("*") || target.contains("*")) {
ret.add(requests.get(sub));
} else
for (String graph : target) {
Expand Down
12 changes: 6 additions & 6 deletions engine/src/main/resources/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<CustomLevels>
<!-- Standard Level intLevel OFF 0 FATAL 100 ERROR 200 WARN 300 INFO 400
DEBUG 500 TRACE 600 ALL Integer.MAX_VALUE -->
<CustomLevel name="SPUManager" intLevel="700" />
<CustomLevel name="spu" intLevel="700" />
<CustomLevel name="SPUManager" intLevel="401" />
<CustomLevel name="spu" intLevel="401" />
<CustomLevel name="timing" intLevel="700" />
<CustomLevel name="subscriptions" intLevel="700" />
<CustomLevel name="subscriptions" intLevel="401" />
<CustomLevel name="http" intLevel="700" />
<CustomLevel name="oauth" intLevel="501" />
<CustomLevel name="ldap" intLevel="501" />
<CustomLevel name="oauth" intLevel="700" />
<CustomLevel name="ldap" intLevel="700" />
</CustomLevels>
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
Expand All @@ -23,7 +23,7 @@
</Appenders>
<Loggers>
<Root level="debug">
<AppenderRef ref="Console" level="trace" />
<AppenderRef ref="Console" level="debug" />
<AppenderRef ref="Log" level="debug" />
</Root>
</Loggers>
Expand Down

0 comments on commit 8e38422

Please sign in to comment.