Fix a bug in userlog handling + logging