Hello,
I'm trying to understand the level of logging using Payara. I'm new to using payara, but I've developed in Java using the Spring framework. I'm used to seeing every HTTP request in the log and I'm not seeing that level of logging here. I realize that has to do with configuration of logs, but if INFO is set, shouldn't we be seeing every request in the server.log? I'm trying to get a base line understanding of how logging works in this system and am not sure what to expect.
For example, I've used our test site many times over the last few days and there are no messages related to specific requests in the server.log. There are hardly any messages to start with.
I'm wondering if I'm either misunderstanding the level of logging to expect by default (assuming things are at an INFO level), or if we have some sort of misconfiguration.
Should I be seeing every HTTP request being logged?
Thanks!
Hi! Please try this:
asadmin get server.http-service.access-logging-enabled
asadmin set server.http-service.access-logging-enabled=true
It's surprising we don't have any docs on this. Please feel free to create an issue!
I see it mentioned in passing here: https://github.com/IQSS/dataverse/releases/tag/v6.0
Hi Phil,
Thanks! That was set to false. I just set it to true and now an "access" directory shows up in the logs directory for that domain.
It's not actually logging anything, but that's a step closer. Is there a log level associated with this one?
And here: https://guides.dataverse.org/en/6.3/installation/config.html#recording-user-ip-addresses
Oh, hmm. Nothing? There's a bit of a delay.
server.http-service.access-log.write-interval-seconds
Maybe give it a minute.
Ohhh, it's set to 300 seconds. That seems a bit long. Is that what folks typically set it to?
In addition to the server.log, which is mostly for errors, you might be interested in the actionlogrecord database table: https://guides.dataverse.org/en/6.3/admin/monitoring.html#actionlogrecord
Buh. I'm not sure if people use 300 seconds in production or not.
I assume the Payara folks have it set to that for a reason.
I am starting to see log messages show up. Thanks for your help - I'd been a bit mystified. :) I'll check out the actionlogrecord.
Do you know if you have to explicitly enable the "logs/process-failures" logging? I am seeing the "logs/edit-drafts" directory with logs in it, but not the "logs/process-failures" one. (we are using 5.13, so there's the possibility it wasn't a feature then?)
Huh, I remember the "edit-drafts" one.
I'm not sure about the process failures. Is it in the guides somewhere?
It's related to solr: https://guides.dataverse.org/en/6.3/admin/monitoring.html#solr-indexing-failures-logging
Hmm, it was added here: https://github.com/IQSS/dataverse/pull/5987/commits/4078c96953f77cd59c93a7291eb816c11bbf718c
My assumption is that you haven't had any indexing failures but if you do, that directory will be created.
That makes sense. Thanks for looking into it.
Last updated: Oct 30 2025 at 06:21 UTC