writing to log when the application has started