Added basic app status logging mechanism.