Skip to content

Commit 7ef049f

Browse files
committed
Reduced logging levels and bumped version to 4.1.1.
1 parent d75699e commit 7ef049f

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

build/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Usage: on line 2 put the release version, on line 3 put the version comment (example: beta)
2-
4.1.0
2+
4.1.1

src/Umbraco.Deploy.Contrib.Connectors/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[assembly: AssemblyConfiguration("")]
77
[assembly: AssemblyCompany("")]
88
[assembly: AssemblyProduct("Umbraco.Deploy.Contrib")]
9-
[assembly: AssemblyCopyright("Copyright © Umbraco 2021")]
9+
[assembly: AssemblyCopyright("Copyright © Umbraco 2022")]
1010
[assembly: AssemblyTrademark("")]
1111
[assembly: AssemblyCulture("")]
1212

src/Umbraco.Deploy.Contrib.Connectors/Properties/VersionInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// </auto-generated>
99
//------------------------------------------------------------------------------
1010

11-
[assembly: System.Reflection.AssemblyInformationalVersion("4.1.0")]
12-
[assembly: System.Reflection.AssemblyVersion("4.1.0")]
11+
[assembly: System.Reflection.AssemblyInformationalVersion("4.1.1")]
12+
[assembly: System.Reflection.AssemblyVersion("4.1.1")]
1313

1414

src/Umbraco.Deploy.Contrib.Connectors/ValueConnectors/NestedContentValueConnector.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ public NestedContentValueConnector(IContentTypeService contentTypeService, Lazy<
4141

4242
public string ToArtifact(object value, PropertyType propertyType, ICollection<ArtifactDependency> dependencies)
4343
{
44-
_logger.Info<NestedContentValueConnector>("Converting {PropertyType} to artifact.", propertyType.Alias);
44+
_logger.Debug<NestedContentValueConnector>("Converting {PropertyType} to artifact.", propertyType.Alias);
4545
var svalue = value as string;
4646

4747
if (string.IsNullOrWhiteSpace(svalue))
4848
{
49-
_logger.Warn<NestedContentValueConnector>($"Value is null or whitespace. Skipping conversion to artifact.");
49+
_logger.Debug<NestedContentValueConnector>($"Value is null or whitespace. Skipping conversion to artifact.");
5050
return null;
5151
}
5252

@@ -126,16 +126,16 @@ public string ToArtifact(object value, PropertyType propertyType, ICollection<Ar
126126
}
127127

128128
value = JsonConvert.SerializeObject(nestedContent);
129-
_logger.Info<BlockEditorValueConnector>("Finished converting {PropertyType} to artifact.", propertyType.Alias);
129+
_logger.Debug<BlockEditorValueConnector>("Finished converting {PropertyType} to artifact.", propertyType.Alias);
130130
return (string)value;
131131
}
132132

133133
public object FromArtifact(string value, PropertyType propertyType, object currentValue)
134134
{
135-
_logger.Info<NestedContentValueConnector>("Converting {PropertyType} from artifact.", propertyType.Alias);
135+
_logger.Debug<NestedContentValueConnector>("Converting {PropertyType} from artifact.", propertyType.Alias);
136136
if (string.IsNullOrWhiteSpace(value))
137137
{
138-
_logger.Warn<NestedContentValueConnector>($"Value is null or whitespace. Skipping conversion from artifact.");
138+
_logger.Debug<NestedContentValueConnector>($"Value is null or whitespace. Skipping conversion from artifact.");
139139
return value;
140140
}
141141

@@ -219,7 +219,7 @@ public object FromArtifact(string value, PropertyType propertyType, object curre
219219
// Note: NestedContent does not use formatting when serializing JSON values.
220220
value = JArray.FromObject(nestedContent).ToString(Formatting.None);
221221

222-
_logger.Info<NestedContentValueConnector>("Finished converting {PropertyType} from artifact.", propertyType.Alias);
222+
_logger.Debug<NestedContentValueConnector>("Finished converting {PropertyType} from artifact.", propertyType.Alias);
223223

224224
return value;
225225
}

0 commit comments

Comments
 (0)