Skip to content

Commit a8354b9

Browse files
authored
Merge pull request #626 from felicity-semmle/1.19/python-change-notes
Update logging information based on 'extractor-python.md'
2 parents 733c7b0 + c735043 commit a8354b9

1 file changed

Lines changed: 15 additions & 5 deletions

File tree

change-notes/1.19/analysis-python.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,22 @@ Most security alerts are now visible on LGTM by default. This means that you may
7070

7171
## Changes to code extraction
7272

73-
* Improved scalability: Scaling is near linear to at least 20 CPU cores.
74-
* Five levels of logging can be selected: `ERROR`, `WARN`, `INFO`, `DEBUG` and `TRACE`. LGTM uses `INFO` level logging. QL tools use `WARN` level logging by default.
75-
* The `-v` flag can be specified multiple times to increase logging level by one per `-v`.
76-
* The `-q` flag has been added and can be specified multiple times to reduce the logging level by one per `-q`.
73+
## Improved reporting of encoding errors
74+
75+
The extractor now outputs the location of the first character that triggers an `EncodingError`.
76+
Any queries that report encoding errors will now show results at the location of the character that caused the error.
77+
78+
### Improved scalability
79+
80+
Scaling is near linear to at least 20 CPU cores.
81+
82+
### Improved logging
83+
84+
* Five levels of logging are available: `CRITICAL`, `ERROR`, `WARN`, `INFO` and `DEBUG`. `WARN` is the default.
85+
* LGTM uses `INFO` level logging. QL tools use `WARN` level logging by default.
86+
* The `--verbose` flag can be specified specified multiple times to increase the logging level once per flag added.
87+
* The `--quiet` flag can be specified multiple times to reduce the logging level once per flag added.
7788
* Log lines are now in the `[SEVERITY] message` style and never overlap.
78-
* The extractor now outputs the location of the first character that triggers an EncodingError.
7989

8090
## Changes to QL libraries
8191

0 commit comments

Comments
 (0)