Hi Josh,
to confirm what Andreas said, you have the info in this thread
(https://groups.google.com/g/dspace-tech/c/lRr1Nj6TLd8/m/ExUdpzXbAwAJ):
/DSpace will only use the latest log file at any given time. This
latest log file is just called "dspace.log" and is located in the
"log" folder. Any older logs (usually these have a suffix like
"dspace.log-[date]") can be safely compressed/zipped without
impacting DSpace's behavior./
There's currently a PR to enable log compression by default when
rotating the logs.
https://github.com/DSpace/DSpace/pull/12507#event-25709870319
Best regards,
Abel
El 19/06/2026 a las 7:16, [email protected] escribió:
Hello Josh,
I believe |dspace.log| is no longer used for statistics. Usage
statistics are kept in Solr and PostgreSQL.
By default, |log4j2.xml| is configured with the |INFO| level. We
reduced this to |WARN| in our environment, which brings down the log
size to 300MB or less per day.
Regarding retention, we usually purge the logs about every other month.
Best,
Andreas
------------------------------------------------------------------------
*From:* [email protected] <[email protected]> on
behalf of Joshua Kim <[email protected]>
*Sent:* Thursday, June 18, 2026 8:51 PM
*To:* DSpace Technical Support <[email protected]>
*Subject:* [dspace-tech] dspace.log is still used for statistics on
dspace 9.2?
Hi,
We need to manage disk space for dspace log files. I have two questions:
1. dspace.log is still used for statistics on dspace 9.2? Is it OK to
compress them?
2. Is there a recommendation on how long the log file should be kept?
--
All messages to this mailing list should adhere to the Code of
Conduct: https://lyrasis.org/code-of-conduct/
<https://lyrasis.org/code-of-conduct/>
---
You received this message because you are subscribed to the Google
Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To view this discussion visit
https://groups.google.com/d/msgid/dspace-tech/165632f7-cf9a-4c50-a8a2-f1e57f911519n%40googlegroups.com
<https://groups.google.com/d/msgid/dspace-tech/165632f7-cf9a-4c50-a8a2-f1e57f911519n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
All messages to this mailing list should adhere to the Code of
Conduct: https://lyrasis.org/code-of-conduct/
---
You received this message because you are subscribed to the Google
Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/dspace-tech/GVAP278MB0054EDEB1605F2A2276C2A73FAE22%40GVAP278MB0054.CHEP278.PROD.OUTLOOK.COM
<https://groups.google.com/d/msgid/dspace-tech/GVAP278MB0054EDEB1605F2A2276C2A73FAE22%40GVAP278MB0054.CHEP278.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer>.
--
Abel Gómez Llana, PhD
[email protected]
https://abel.gomez.llana.me
--
All messages to this mailing list should adhere to the Code of Conduct:
https://lyrasis.org/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/dspace-tech/49677772-ca99-4a0a-ab9c-da7e890c3a51%40gmail.com.