Hotfix of PermissionError for logger
In existing implementation, if it is forbidden to edit /tmp/log.txt, then logger raises the exception after each usage.
The new code catches the PermissionError and disables in-file logger.
In existing implementation, if it is forbidden to edit /tmp/log.txt, then logger raises the exception after each usage.
The new code catches the PermissionError and disables in-file logger.