Skip to content

Commit 8cd0e5a

Browse files
skttlmikecp
authored andcommitted
Change logmessages
1 parent ee1153e commit 8cd0e5a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Umbraco.Core/Runtime/MainDom.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,11 @@ private bool Acquire()
154154
// the handler is not installed so that would be the hosting environment
155155
if (_signaled)
156156
{
157-
_logger.LogInformation("Cannot acquire (signaled).");
157+
_logger.LogInformation("Cannot acquire MainDom (signaled).");
158158
return false;
159159
}
160160

161-
_logger.LogInformation("Acquiring.");
161+
_logger.LogInformation("Acquiring MainDom.");
162162

163163
// Get the lock
164164
var acquired = false;
@@ -168,12 +168,12 @@ private bool Acquire()
168168
}
169169
catch (Exception ex)
170170
{
171-
_logger.LogError(ex, "Error while acquiring");
171+
_logger.LogError(ex, "Error while acquiring MainDom");
172172
}
173173

174174
if (!acquired)
175175
{
176-
_logger.LogInformation("Cannot acquire (timeout).");
176+
_logger.LogInformation("Cannot acquire MainDom (timeout).");
177177

178178
// In previous versions we'd let a TimeoutException be thrown
179179
// and the appdomain would not start. We have the opportunity to allow it to
@@ -209,7 +209,7 @@ private bool Acquire()
209209
_logger.LogWarning(ex, ex.Message);
210210
}
211211

212-
_logger.LogInformation("Acquired.");
212+
_logger.LogInformation("Acquired MainDom.");
213213
return true;
214214
}
215215

0 commit comments

Comments
 (0)