Howdy,
This week I’d like to show you how to enable the verbose log in any of the Enkompass services. You may not want logging like this on all the time because it causes a great deal of data to be written when the server is active. But if you see an error you can diagnose exactly what the server is doing.
For our example we will be using the WCF Service which is the work horse for Enkompass. First let’s do something simple like create an account with the normal logging.
Nothing gets logged because everything went well. Because the logging level is set to Error. Let’s get the full story by editing the config file. It’s located by default in:
C:\Program Files\cPanel\Enkompass\Services\WcfService\cPanel WCF Service.exe.config
and I recommend opening it up with notepad. Use “Replace” (CTRL + h) to replace “Error” with “Verbose” in all three places. Save the file and restart the WCF service in services.msc. Go ahead and restart the Enkompass Web Server Service too.
Now let’s go back and make a simple account. If you are following the log file using mtail you will notice it spring to life showing the service starting and then started.
Our simple create account looks like this with verbose logging on.
cPanel.Core Verbose: 0 : 2011-04-06 17:33:44Z [VERBOSE ] - WSOI - WSOI - (TID:0x10) - GetDnsServerIpAddress
cPanel.Core Verbose: 0 : 2011-04-06 17:33:44Z [VERBOSE ] - DNS Provider - cPanel.Dns.Providers.MicrosoftDnsDataProvider - (TID:0x10) - Does zone echo.tld exist on 208.74.120.81
cPanel.Core Verbose: 0 : 2011-04-06 17:33:44Z [VERBOSE ] - Account Provider - cPanel.Core.Providers.ActiveDirectoryAccountDataProvider - (TID:0x10) - Creating new account echo
cPanel.Core Verbose: 0 : 2011-04-06 17:33:45Z [VERBOSE ] - Account Provider - cPanel.Core.Providers.ActiveDirectoryAccountDataProvider - (TID:0x10) - Creating home directory E:\WebSiteShare\Users\cPanel\echo
cPanel.Core Verbose: 0 : 2011-04-06 17:33:45Z [VERBOSE ] - Web Site Provider - cPanel.Http.Providers.Iis7WebSiteDataProvider - (TID:0x10) - Creating web site echo.tld, ftp site echo.tld, and ftp user echo
cPanel.Core Verbose: 0 : 2011-04-06 17:33:45Z [VERBOSE ] - DNS Provider - cPanel.Dns.Providers.MicrosoftDnsDataProvider - (TID:0x10) - Creating zone echo.tld on 208.74.120.81
cPanel.Core Verbose: 0 : 2011-04-06 17:33:46Z [VERBOSE ] - DNS Provider - cPanel.Dns.Providers.MicrosoftDnsDataProvider - (TID:0x10) - Creating A resource with zone name echo.tld on 208.74.120.81
cPanel.Core Verbose: 0 : 2011-04-06 17:33:46Z [VERBOSE ] - DNS Provider - cPanel.Dns.Providers.MicrosoftDnsDataProvider - (TID:0x10) - Creating CName resource with zone name echo.tld on 208.74.120.81
cPanel.Core Verbose: 0 : 2011-04-06 17:33:46Z [VERBOSE ] - DNS Provider - cPanel.Dns.Providers.MicrosoftDnsDataProvider - (TID:0x10) - Creating CName resource with zone name echo.tld on 208.74.120.81
cPanel.Core Verbose: 0 : 2011-04-06 17:33:46Z [VERBOSE ] - ServerAdministratorService - cPanel.Services.ServerAdministratorService - (TID:0x10) - Account 'echo' created without an assigned MailServer. Mail accounts have not been created.
cPanel.Core Verbose: 0 : 2011-04-06 17:33:46Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - ContactManagerGateway .ctor
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetAlertsEx
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetContactManagerRegistryKey
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetCPanelRegistryKey
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - ConvertToAlertsEx
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetAlertEx
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetAlertTypeFromString
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetAlertEx
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetAlertTypeFromString
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetAlertEx
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetAlertTypeFromString
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetAlertEx
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetAlertTypeFromString
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetAlertEx
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetAlertTypeFromString
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetAlertEx
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetAlertTypeFromString
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetAlertEx
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetAlertTypeFromString
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetAlertEx
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetAlertTypeFromString
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetAlertEx
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetAlertTypeFromString
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetCommunicationInfo
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetCommunicationSettings
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetCPanelRegistryKey
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetTwitterUser
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetTwitterSettings
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetCPanelRegistryKey
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetTwitterSettings
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Twitter Manager - (TID:0x10) - UpdateConsumerKeys
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetEmailData
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetCPanelRegistryKey
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Email Manager - (TID:0x10) - .cctor
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Email Manager - (TID:0x10) - UpdateEmailSettings
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetCPanelRegistryKey
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - SendAlert
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - DetermineActiveAlerts
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetEmailForAllResellerUpTree
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetUserSidFromName
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - FindUserDirectoryEntryBySid
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Contact Manager Gateway - (TID:0x10) - GetAccountDataForDirectoryEntry
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Message Helper - (TID:0x10) - .ctor
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Message Helper - (TID:0x10) - GetMessage
cPanel.Core Information: 0 : 2011-04-06 17:33:47Z [INFO ] - Enkompass Contact Manager - Message Helper - (TID:0x10) - Templated message file E:\WebSiteShare\Users\cPanel\Admin\AlertMessages\TemplatedMessages\AccCreation.xml not setup for the reseller
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Message Helper - (TID:0x10) - FillMessageFromDocument
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Message Helper - (TID:0x10) - NormalizeMessage
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Message Helper - (TID:0x10) - .ctor
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Message Helper - (TID:0x10) - NormalizeMessage
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Message Helper - (TID:0x10) - NormalizeMessage
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Email Manager - (TID:0x10) - SendMail
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Enkompass Contact Manager - Email Manager - (TID:0x10) - SendMailMessage
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - ServerAdministratorService - cPanel.Services.ServerAdministratorService - (TID:0x10) - GetAccountDataByName
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - Account Provider - cPanel.Core.Providers.ActiveDirectoryAccountDataProvider - (TID:0x10) - Getting account data for echo
cPanel.Core Verbose: 0 : 2011-04-06 17:33:47Z [VERBOSE ] - ServerAdministratorService - cPanel.Services.ServerAdministratorService - (TID:0x10) - DoesAccountHaveDedicatedIP
cPanel.Core Verbose: 0 : 2011-04-06 17:33:48Z [VERBOSE ] - Enkompass Contact Manager - Email Manager - (TID:0x4) - MailSendCompleted
cPanel.Core Verbose: 0 : 2011-04-06 17:33:48Z [VERBOSE ] - Enkompass Contact Manager - Email Manager - (TID:0x4) - Send email successfully