Skip to content

Commit b7694e5

Browse files
committed
add loglevel parameter in command line
1 parent 36d54fe commit b7694e5

2 files changed

Lines changed: 12 additions & 5 deletions

File tree

index.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,10 @@ Here is a page that documents how to check the certificate on Linux : [check lin
346346
- `O` ,`--settingsfile`
347347
Custom Settings file for logging and other settings. Default is `FastTransfer__settings.json` in the same folder as the executable.
348348

349-
- `--license`
349+
- `--loglevel <level>`
350+
Override the log level defined in the settings file. Allowed Values: `debug`, `information`, `warning`, `error`, `fatal`. Default is `information`.
351+
352+
- - `--license`
350353
License file. Default is `FastTransfer.lic` in the same folder as the executable. You can provide another filepath or an url to get the license informations
351354

352355

@@ -395,7 +398,8 @@ Here is a page that documents how to check the certificate on Linux : [check lin
395398
--loadmode "Truncate" `
396399
--degree -2 ` #Automatically adapt the degree of parallelism to 1/2 of cpu available
397400
--runid "pgsql-to-msbulk-123456" `
398-
--mapmethod "Name"
401+
--mapmethod "Name" `
402+
--loglevel "debug"
399403
```
400404

401405

samples/samples.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
--targetschema "dbo" `
3939
--targettable "orders" `
4040
--method "None" `
41-
--loadmode "Truncate"
41+
--loadmode "Truncate" `
42+
--loglevel "debug"
4243
```
4344

4445
### Transfert de PostgreSQL à MSSQL avec une requête SQL pour une autre table
@@ -162,7 +163,8 @@
162163
--targettable "lineitem" `
163164
--method "Ctid" `
164165
--degree 10 `
165-
--loadmode "Truncate"
166+
--loadmode "Truncate" `
167+
--loglevel "debug"
166168
```
167169

168170
### Dynamic degree using negative degree
@@ -1501,7 +1503,8 @@
15011503
--distributekeycolumn "ABS(CAST(CAST(%%physloc%% AS BINARY(1)) as bigint))" `
15021504
--degree 10 `
15031505
--mapmethod "Name" `
1504-
--runid "test_MSSQL22_to_MSSQL25_P10_Random_Physloc_to_ccsi"
1506+
--runid "test_MSSQL22_to_MSSQL25_P10_Random_Physloc_to_ccsi" `
1507+
--loglevel "debug"
15051508
```
15061509

15071510

0 commit comments

Comments
 (0)