Added delimemters to close logs