Loading... (original) (raw)

It seems like Unified Logging outputs must be specified all in a single -Xlog statement.

If you run something like this: "java -Xlog:thing1 -Xlog:thing2 ", you will only get output for thing2!

The core problem here is that LogConfiguration::parse_log_arguments resets the log configuration each time. As a result, if a second -Xlog option is parsed, parse_log_arguments is called to handle it and deletes the previous configuration.