We have a WildFly instance setup with KeyCloak protecting console/management interface.
In menu 'Runtime > Log files' there is 2 places to download those. In context menu of the log entry or in toolbar of log entry viewer.
Both options can't download log file because no bearer token is send in request. Download request is a simple link html tag like this one: