Added syslog events for app lifecycle.
Silenced the console output during tests.