How to turn on debug logging option and way to retrieve debug log

How to turn on debug logging option and way to retrieve debug log

A. Windows:

1. Creating a folder "C:\Users\Public\Documents\e-Lock Corporation\WebAlarm Agent\debug"


2. Start/Restart WA services.


3. Check that Debug log is generated.



A-1. Location to retrieve debug log

C:\Users\Public\Documents\e-Lock Corporation\WebAlarm Agent


B. Linux:

1. stop WA service or kill service

Example for CentOs7 commad:

systemctl stop wa

2. Start WA service with verbose mode.

/usr/local/wa4/wa --port=9999 --verbose

3. check if WA service run in verbose mode.

ps -ef | grep wa4



B-1. Location to retrieve debug log

/var/log/waa