Issue 5956 add loggin to dotcms