Something seems broken with UL:
$ /d/ade/apps/Java/jdk-17/bin/java -Xlog:all=warning:stderr -Xloggc:gc.log -version > stdout.txt 2> stderr.txt
$ cat stdout.txt
[0.004s][warning][gc] -Xloggc is deprecated. Will use -Xlog:gc:gc.log instead.
$ cat stderr.txt
[0.004s][warning][gc] -Xloggc is deprecated. Will use -Xlog:gc:gc.log instead.
java version "17-internal" 2021-09-14 LTS
Java(TM) SE Runtime Environment (build 17-internal+0-LTS-2021-05-26-2325074.david.holmes.jdk-dev2.git)
Java HotSpot(TM) 64-Bit Server VM (build 17-internal+0-LTS-2021-05-26-2325074.david.holmes.jdk-dev2.git, mixed mode, sharing)
The warning went to stdout and stderr!
I've confirmed that somehow all warnings go to stdout and also to whereever warnings have been redirected!