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
- Go toC:\Program Files\Rockwell Software\FactoryTalk Historian\Historian WebTrend\WebTrendBE, and then openappSettings.json.
- In theLogSettingssection, specify theLogLevelas shown in the following example, and then save the file."LogSettings": { "LogLevel": "Info" }
- Go toC:\Program Files\Rockwell Software\FactoryTalk Historian\Historian WebTrend Data Provider, and then openRA.FTHistorianSE.WebTrend.HistorianProviderHost.exe.config.
- In theappSettingssection, update the value of<add key="LogLevel" value="Info"/>, and then save the file.
- OpenInternet Information Services (IIS) Manager.
- Expand . SelectFTHWebTrendSite, and then selectRestart.
- In the Start menu, selectServices.
- InServices, right-clickFTHWebTrendDPSvc, and then selectRestart.
Provide Feedback