Archivo log

para crear un log

https://payara.gitbooks.io/payara-server/documentation/payara-micro/logging-to-file.html

Usar

--logToFile /home/user/PayaraMicro.log

Ejemplo

java -jar payara-micro.jar --logToFile /home/user/PayaraMicro.log

Logging to a file Programmatically

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();
    }
}

Last updated