Fix unable to log bug in seahub/utils