Skip to content
Snippets Groups Projects
Commit 01bf0c0f authored by Michael Riedel's avatar Michael Riedel
Browse files

document changes

parent 672c877a
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ Python script checks whether the database tables and columns referenced in a dee ...@@ -10,7 +10,7 @@ Python script checks whether the database tables and columns referenced in a dee
## Usage ## Usage
```powershell ```powershell
python main.py --fs 'FEATURE STORE' --ps 'DB CONNECTION' --logfile 'OUTPUT LOG' [--help] python main.py --fs 'FEATURE STORE' --ps 'DB CONNECTION' --logfile 'OUTPUT LOG' [--mode [short|normal|debug]][--help]
``` ```
## Parameters ## Parameters
...@@ -27,12 +27,15 @@ python main.py --fs 'FEATURE STORE' --ps 'DB CONNECTION' --logfile 'OUTPUT LOG' ...@@ -27,12 +27,15 @@ python main.py --fs 'FEATURE STORE' --ps 'DB CONNECTION' --logfile 'OUTPUT LOG'
} }
``` ```
Note: The *password* key is optional. If it is not set, the password is requested via a user input. Note: The *password* key is optional. If it is not set, the password is requested via a user input.
* `--logfile`: Log file for outputting the results. Missing tables and columns in the database are shown as warnings. The log level can be configured in main.py using a parameter: * `--logfile`: Log file for outputting the results. Missing tables and columns in the database are shown as warnings.
```python * `--mode`: Output mode (optional). Possible Values are:
log_level = logging.WARNING + *short*: Shows only warnings
``` + *normal*: default Value. Shows infos
Possibile Values are: * *debug*: verbose Output
* logging.DEBUG ## Changelog
* logging.INFO
* logging.WARNING ### 1.0.1
* logging.ERROR
* Add additional command line parameter *mode* to control internal log level
* rename the command line parameter
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment