-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vdk-core: add new configuration log_level_module (#1167)
* vdk-core: add new configuration log_level_module To enable users to override logs per module, temporarily (e.g for debugging or prototyping reasons to increase verbosity of certian module). The feature works similar to how spring level is specified (-Dlogging.level.com.baeldung=TRACE) Configruation is: 'log_level_module="my.module=INFO,my.second.module=debug"' Testing Done: unit tests Signed-off-by: Antoni Ivanov <[email protected]> vdk-core: extend classification error test There are a few more test scenarios that are not covered but are pretty common and so we are adding them now. Testing Done: functional tests. Signed-off-by: Antoni Ivanov <[email protected]> vdk-core: fix imports Signed-off-by: Antoni Ivanov <[email protected]>
- Loading branch information
1 parent
6ac141f
commit 968966e
Showing
2 changed files
with
59 additions
and
10 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
projects/vdk-core/tests/functional/run/jobs/fail-job-properties/1_step.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Copyright 2021 VMware, Inc. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
from vdk.api.job_input import IJobInput | ||
|
||
|
||
def run(job_input: IJobInput): | ||
job_input.get_all_properties() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters