Configuring event logs
This section contains information on configuring the way significant Remote Ink service program events are logged. Use the procedures in this section to do the following:
-
Configure which significant Remote Ink service program events are logged.
-
Create a custom event source to redirect output from the default application log to a log dedicated to Remote Ink service program events.
Tip
Redirecting output from the default application log is helpful if you’re troubleshooting Remote Ink service and want a log containing only Remote Ink service program events.
To configure which program events are logged
-
Go to C:\Program Files\SMART Technologies\Remote Ink Service.
-
Open Remoteinkservice.exe.config with a text editor.
-
Scroll to and change the comment for the following command:
<add key="LogLevel" value="[value]" />
Where [value] determines which events are logged.
Choose the events you want to log by entering a value from the table below.
0
|
Error
|
Error
|
1
|
Warning
|
Warning and Error
|
2
|
Informational
|
Informational, Warning and Error
|
3
|
Debug
|
Debug, Informational, Warning and Error
|
To create a custom event source
-
Create a PowerShell script that contains the following commands and modify the customeventsource and logname variables to your custom values.
Tip
You can also execute the following commands directly in a PowerShell console.
$customeventsource = [My Custom Source]
$logname = [Application]
$creationData = new-object System.Diagnostics.EventSourceCreationData $customeventsource, $logname
[System.Diagnostics.EventLog]::CreateEventSource($creationData)
Where:
-
Execute in a PowerShell console.
-
Go to C:\Program Files\SMART Technologies\Remote Ink Service.
-
Open Remoteinkservice.exe.config with a text editor.
-
Change the default EventSource name to the name you gave to the customeventsource variable, for example My Custom Source.