Skip to content

Commit 098a6cb

Browse files
committed
Final logging and md changes
1 parent 67603ea commit 098a6cb

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

docs/BREAKING_CHANGE.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,25 @@
3434

3535
***
3636
#### Json Related Validation Constructs
37-
| Rule Name | Check Id | Message |
38-
|----------|-------------|------|
39-
|`ensure_enum_not_changed`|`ENM001`|`"CANNOT remove values from enum"`|
40-
|`ensure_minlength_not_contracted`|`ML001`|`"cannot remove minLength from properties"`|
37+
| Rule Name | Check Id | Message |
38+
|----------|-------------|------------------------------------------------------------|
39+
|`ensure_enum_not_changed`|`ENM001`| `"CANNOT remove values from enum"` |
40+
|`ensure_minlength_not_contracted`|`ML001`| `"cannot remove minLength from properties"` |
4141
||`ML002`|`"only NEWLY ADDED properties can have additional minLength constraint"`|
4242
||`ML003`|`"new minLength value cannot exceed old value"`|
43-
|`ensure_maxlength_not_contracted`|`ML004`|`"cannot remove maxLength from properties"`|
43+
|`ensure_maxlength_not_contracted`|`ML004`| `"cannot remove maxLength from properties"` |
4444
||`ML005`|`"only NEWLY ADDED properties can have additional maxLength constraint"`|
4545
||`ML006`|`"new maxLength value cannot be less than the old value"`|
46-
|`ensure_property_string_pattern_not_changed`|`PAT001`|`"Only NEWLY ADDED properties can have new pattern added"`|
46+
|`ensure_property_string_pattern_not_changed`|`PAT001`| `"Only NEWLY ADDED properties can have new pattern added"` |
4747
||`PAT002`|`"cannot remove PATTERN from a property"`|
4848
||`PAT003`|`"cannot change PATTERN of a property"`|
49-
|`ensure_minitems_not_contracted`|`MI001`|`"cannot remove minItems from properties"`|
49+
|`ensure_minitems_not_contracted`|`MI001`| `"cannot remove minItems from properties"` |
5050
||`MI002`|`"only NEWLY ADDED properties can have additional minItems constraint"`|
5151
||`MI003`|`"new minItems value cannot exceed old value"`|
52-
|`ensure_maxitems_not_contracted`|`MI004`|`"cannot remove maxItems from properties"`|
52+
|`ensure_maxitems_not_contracted`|`MI004`| `"cannot remove maxItems from properties"` |
5353
||`MI005`|`"only NEWLY ADDED properties can have additional maxItems constraint"`|
5454
||`MI006`|`"new maxItems value cannot be less than the old value"`|
55-
|`ensure_minimum_not_contracted`|`MI007`|``|
55+
|`ensure_minimum_not_contracted`|`MI007`| `cannot remove minimum from properties` |
5656
||`MI008`|`"only NEWLY ADDED properties can have additional minimum constraint"`|
5757
||`MI009`|`"new minimum value cannot exceed old value"`|
5858
||`MI010`|`"cannot remove maximum from properties"`|

src/rpdk/guard_rail/utils/logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
console = logging.StreamHandler()
15-
console.setLevel(logging.INFO)
15+
console.setLevel(logging.ERROR)
1616
formatter = logging.Formatter("%(asctime)s: %(levelname)-8s - %(message).500s")
1717
console.setFormatter(formatter)
1818
logging.getLogger("").addHandler(console)

0 commit comments

Comments
 (0)