Hi Ernesto,

yo may want to automatically compress the log files when they are rolled.

Now there are two files: for the DSpace server itself, and for CLI applications.

The lines to be changed are these (see an example here):

https://github.com/sistedes/dspace.server/blob/eee2d77549e3ede9ef76ed71d189c31097b503a4/dspace/config/log4j2.xml#L26

https://github.com/sistedes/dspace.server/blob/eee2d77549e3ede9ef76ed71d189c31097b503a4/dspace/config/log4j2-cli.xml#L26

Compressing the log files by default has been discussed several times in this mailing list, but I haven't found the time to send a Pull Request to the upsdtream repository.

Cheers,

Abel



El 06/09/2025 a las 0:47, Ernesto Mota Concha escribió:
Tengo un repositorio instalado en un centro de investigación, básicamente en la biblioteca, se han estado subiendo registros de proyectos pero cada cierto tiempo se satura mi espacio, y hay que estar borrando los logs que crecen mucho, que tendría que hacer para que ya no ocurra ese problema?

I have a repository installed in a research center, basically in the library. Project logs have been uploaded, but every so often my space becomes saturated, and I have to keep deleting the logs that grow too large. What should I do to prevent this problem from occurring?
--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Community" 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-community/ef03fe38-4de8-4174-9c6c-531da43eb100n%40googlegroups.com <https://groups.google.com/d/msgid/dspace-community/ef03fe38-4de8-4174-9c6c-531da43eb100n%40googlegroups.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://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- You received this message because you are subscribed to the Google Groups "DSpace Community" 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-community/ad396fc3-a691-4cd4-9f67-9d2e426b0926%40gmail.com.

Reply via email to