fix for username sub in AppNetLogger