Skip to content

Commit 7d5a4a0

Browse files
author
Andrew
committed
new feedback
1 parent a590112 commit 7d5a4a0

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

build.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ $filesForWindowsPackage = @(
4949
'windows_baseline.dsc.yaml',
5050
'windows_inventory.dsc.yaml'
5151
'dsc_default.settings.json',
52-
'settings.dsc.json'
52+
'dsc.settings.json'
5353
)
5454

5555
$filesForLinuxPackage = @(
@@ -66,7 +66,7 @@ $filesForLinuxPackage = @(
6666
'RunCommandOnSet.dsc.resource.json',
6767
'runcommandonset',
6868
'dsc_default.settings.json',
69-
'settings.dsc.json'
69+
'dsc.settings.json'
7070
)
7171

7272
$filesForMacPackage = @(
@@ -83,7 +83,7 @@ $filesForMacPackage = @(
8383
'RunCommandOnSet.dsc.resource.json',
8484
'runcommandonset',
8585
'dsc_default.settings.json',
86-
'settings.dsc.json'
86+
'dsc.settings.json'
8787
)
8888

8989
# the list of files other than the binaries which need to be executable

dsc/src/util.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,9 @@ pub fn enable_tracing(trace_level_arg: &Option<TraceLevel>, trace_format_arg: &O
298298
let mut tracing_setting = TracingSetting::default();
299299

300300
let default_filter = EnvFilter::try_from_default_env()
301-
.or_else(|_| EnvFilter::try_new("error"))
301+
.or_else(|_| EnvFilter::try_new("warning"))
302302
.unwrap_or_default()
303-
.add_directive(Level::ERROR.into());
303+
.add_directive(Level::WARN.into());
304304
let default_indicatif_layer = IndicatifLayer::new();
305305
let default_layer = tracing_subscriber::fmt::Layer::default().with_writer(default_indicatif_layer.get_stderr_writer());
306306
let default_fmt = default_layer

dsc_lib/src/util.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ pub fn parse_input_to_json(value: &str) -> Result<String, DscError> {
6060

6161
/// Will search setting files for the specified setting.
6262
/// Performance implication: Use this function economically as every call opens/reads several config files.
63+
/// TODO: cache the config
6364
///
6465
/// # Arguments
6566
///

0 commit comments

Comments
 (0)