Adding fixes to the build failure due to admin service change in logviewer

Adding fixes to the build failure due to admin service change in logviewer