--logToFile /home/user/PayaraMicro.log
java -jar payara-micro.jar --logToFile /home/user/PayaraMicro.log
import fish.payara.micro.PayaraMicro;
import fish.payara.micro.BootstrapException;
public class EmbeddedPayara
{
public static void main(String[] args) throws BootstrapException
{
PayaraMicro.getInstance().setUserLogFile("/home/user/PayaraMicro.log").bootStrap();
}
}