Jersey: where does LogginFeature log?

Multi tool use


Jersey: where does LogginFeature log?
I have a Jersey 2.23 running inside of a glassfish/grizzly webserver.
That is working well.
Now I try to enable LoggingFeture for logging any access to the service.
ResourceConfig rc = new ResourceConfig ();
rc.packages (MyProg.class.getPackage ().getName ());
rc.register (LoggingFeature.class);
rc.property(LoggingFeature.LOGGING_FEATURE_LOGGER_LEVEL_SERVER, "INFO");
rc.property(LoggingFeature.LOGGING_FEATURE_VERBOSITY_SERVER,
LoggingFeature.Verbosity.HEADERS_ONLY);
HttpServer hs = GrizzlyHttpServerFactory.createHttpServer (URI.create ("http://myserver"), rc);
I do not find any new files where it puts the logs in my apps dir or in /var/log.
If someone can please explain to me if my code is ok and where to look.
I would expect a file where it puts a line for any new request to the server (like access.log of Apache)
Thanks!
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.