Skip to content

Commit d5b28cf

Browse files
authored
allow asterisk in yaml for logging properties (#563)
1 parent a87564a commit d5b28cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/main/antlr4/oracle/weblogic/deploy/yaml/Yaml.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ fragment QUOTED_ID_START
305305

306306
fragment QUOTED_ID_CONTINUE
307307
: ID_CONTINUE
308-
| [@#\-(){}[\]:/]
308+
| [@*#\-(){}[\]:/]
309309
;
310310

311311
fragment SQUOTED_STRING_CHARS

core/src/test/resources/unit-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ topology:
2020
com.oracle.something: Debug
2121
# Adding test case for empty property key. Logging properties can have an empty key
2222
'': Info
23-
com.oracle.something.else: Debug
23+
'com.oracle.something.else.*': Debug
2424
s1:
2525
ListenAddress: 127.0.0.1
2626
ListenPort: 8001

0 commit comments

Comments
 (0)