This commit adds log messages to the IPSec Auth server
and client following the requirements bellow:
- Debug, info and error log levels should be present in client code.
- Log should include level indicator after date and time stamp
- Default log level is info
- Logs should be present in a log file at /var/log directory
Test Plan:
PASS: In a DX controller-0 acting as IPsec Auth server and a
worker-0 acting as IPsec Auth client, execute the command
'sudo ipsec-client pxecontroller' and see the log messages
generated in the screen and in the file /var/log/ipsec-auth.log
Story: 2010940
Task: 49464
Co-Authored-By: Manoel Benedito Neto <manoel.beneditoneto@windriver.com>
Change-Id: Icbdc299022c19e0c1513e0fcb9429494b3a87d04
Signed-off-by: Leonardo Mendes <Leonardo.MendesSantana@windriver.com>