The details below are applicable for ANS v2017.1.1.00 and higher.
NS Logs and Events
NS Logging can help to understand the reason for failure on startup.
- Check NSOperation.log file. By default log file is located in the same folder as NS. If there is no log file check section “How to enable NS log file”
- Check events from NS in Control Panel - > Administrative Tools -> Event Viewer-> Windows Logs -> Application. The relevant events have Source = AdonisNotificationService.
Development needs both logs and events to investigate the issue. The events may be saved as shown on the screenshot below:
How to enable NS log file
- Open folder where NS installed. Default folder is C:\Program Files (x86)\Adonis\NotificationService
- Open NS config file NotificationService.exe.config in text editor
- Set setting OperationLogEnable = true
<configuration>
<appSettings>
<add key="OperationLogEnable" value="true" />
…
Also, it is possible to specify a folder for log file in the parameter OperationLogFolder. By default value is empty. This means that the log file will be written to the same folder where NS located.
<add key="OperationLogFolder" value="" />
- Save file
- Restart Adonis Notification service