Le 29/09/2016 à 23:03, Massimo Ciancio a écrit :

Hello to all,


I have problems with log rotation.


Using the configuration for debugging in logback.xml but my lsc.log do not rotate.
I run LSC 2.1 (lsc-2.1.3-0.el5.noarch) with Java:

java version "1.7.0_79"

    Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
    Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)


and permissions in the /var/log/lsc seem correct:


drwxr-xr-x 2 lsc lsc 4.0K Sep 29 11:42 .
drwxr-xr-x. 10 root root 4.0K Sep 27 23:58 ..
-rw-r--r-- 1 lsc lsc 157K Sep 29 15:23 lsc.ldif
-rw-r--r-- 1 lsc lsc 5.1G Sep 29 22:55 lsc.log   (5.1 GB!!!)
-rw-r--r-- 1 lsc lsc 480 Sep 29 17:48 lsc.status


Can you help me?




Hi,

I don't know what is the problem, as I have some installations with the same configuration that are working. I can be a logback issue but I am not an expert on this component. I suggest you create a lograte configuration as a workaround.

Maybe someone on the list can have a better feedback.

--
Clément OUDOT
Consultant en logiciels libres, Expert infrastructure et sécurité
Savoir-faire Linux
87, rue de Turbigo - 75003 PARIS
Blog: http://sflx.ca/coudot

_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to