Configure the log level

If your organization requires you to change the default log level, you need to specify the log level in
appSettings.json
and
RA.FTHistorianSE.WebTrend.HistorianProviderHost.exe.config
.
TIP: Log levels, listed from least to most severe, are
Trace
,
Debug
,
Info
,
Warn
,
Error
, and
Fatal
. The log file records logs at the specified level and higher. For example, if you specify
Info
, the log file will include
Info
,
Warn
,
Error
, and
Fatal
logs.
To configure the log level
  1. Go to
    C:\Program Files\Rockwell Software\FactoryTalk Historian\Historian WebTrend\WebTrendBE
    , and then open
    appSettings.json
    .
  2. In the
    LogSettings
    section, specify the
    LogLevel
    as shown in the following example, and then save the file.
    "LogSettings": { "LogLevel": "Info" }
  3. Go to
    C:\Program Files\Rockwell Software\FactoryTalk Historian\Historian WebTrend Data Provider
    , and then open
    RA.FTHistorianSE.WebTrend.HistorianProviderHost.exe.config
    .
  4. In the
    appSettings
    section, update the value of
    <add key="LogLevel" value="Info"/>
    , and then save the file.
  5. Open
    Internet Information Services (IIS) Manager
    .
  6. Expand
    Server
    Sites
    . Select
    FTHWebTrendSite
    , and then select
    Restart
    .
  7. In the Start menu, select
    Services
    .
  8. In , right-click
    FTHWebTrendDPSvc
    , and then select
    Restart
    .
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal