Yes you can but sometimes longer strings don’t match, why I don’t know which is why I used a shorter string. Also did the file already exist? Maybe your file is located here userdata/etc/org.ops4j.pax.logging.cfg
There are a lot of different ways to achieve similar things, see this thread…