EDMIService: Add Profile Logging
This commit is contained in:
parent
67fe2ee7da
commit
d27eafd9aa
@ -26,8 +26,7 @@ Namespace Methods.GlobalIndexer
|
||||
Logger.Debug("Start of Method [LoadProfile]")
|
||||
|
||||
Try
|
||||
Dim oProfile = GetDatatable.Run(
|
||||
New GetDatatableFromCacheRequest With {
|
||||
Dim oProfile = GetDatatable.Run(New GetDatatableFromCacheRequest With {
|
||||
.DataTable = VIEW_PROFILE,
|
||||
.FilterExpression = $"DOCTYPE_ID = {pProfileId}"
|
||||
})
|
||||
@ -47,6 +46,13 @@ Namespace Methods.GlobalIndexer
|
||||
.DynamicPath = oRow.ItemEx("DYNAMIC_FOLDER", "")
|
||||
}
|
||||
|
||||
Logger.Debug("Name: [{0}]", oProfileObject.Name)
|
||||
Logger.Debug("Active: [{0}]", oProfileObject.IsActive)
|
||||
Logger.Debug("ObjectStore: [{0}]", oProfileObject.ObjectStore)
|
||||
Logger.Debug("ShortName: [{0}]", oProfileObject.ShortName)
|
||||
Logger.Debug("NameConvention: [{0}]", oProfileObject.NameConvention)
|
||||
Logger.Debug("DynamicPath: [{0}]", oProfileObject.DynamicPath)
|
||||
|
||||
Return oProfileObject
|
||||
Catch ex As Exception
|
||||
LogAndThrow(ex, "Error while automatic loading profile!")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user