Fix shell-log descriptor