I think I've tried everything. I want to specify a logging format in the VM arguments. But it seems that "%"s are all blindly replaced with environment variables. For example, I want to set this:
This is also true when creating environment variables in L4j. I've tried every sort of escaping and encoding I can think of. I could probably use a manually created environment variable, but that undermines the whole "just run it" reason for using L4j.
Has anyone figured this out? Should I just submit a bug or feature request?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think I've tried everything. I want to specify a logging format in the VM arguments. But it seems that "%"s are all blindly replaced with environment variables. For example, I want to set this:
But all the %s get paired up and replaced with "". Thus it gets interpreted as this:
This is also true when creating environment variables in L4j. I've tried every sort of escaping and encoding I can think of. I could probably use a manually created environment variable, but that undermines the whole "just run it" reason for using L4j.
Has anyone figured this out? Should I just submit a bug or feature request?
Please submit a bug, the percentage sign cannot be escaped.
Grzegorz
Done. Thanks.