adding logging to track application process