i've installed Kompiere 252d (with Postgresql & JDK 1.5.0_06) on a debian (sarge) box.
I am getting huge logfiles (8G... 12G...) in the /home/postgres/kompiere/Kompiere2/log directory.
It runs smoothly for a few days then suddenly it creates a huge logfile with logs such as:
1. Shut down Kompiere,
2. As root user issue:
chown root:root ~postgres/kompiere/Kompiere2/log
3. Start up Kompiere
This is a kludge. Kompiere gets "permission denied" error but starts up nevertheless. (Renaming or removing the "log" directory doesn't work as it gets recreated anew.)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
i've installed Kompiere 252d (with Postgresql & JDK 1.5.0_06) on a debian (sarge) box.
I am getting huge logfiles (8G... 12G...) in the /home/postgres/kompiere/Kompiere2/log directory.
It runs smoothly for a few days then suddenly it creates a huge logfile with logs such as:
18:21:07.610 modelmbean.Descriptor.clone(): 1c5d0e0 Executed [16]
18:21:07.610 modelmbean.Descriptor(Descriptor): cf5cf6 Constructor [16]
18:21:07.610 modelmbean.Descriptor.toString(): cf5cf6 Entry [16]
18:21:07.610 modelmbean.getFields(): cf5cf6 Entry [16]
18:21:07.610 modelmbean.getFields(): cf5cf6 Returning 4 fields [16]
18:21:07.610 modelmbean.getFields(): cf5cf6 Exit [16]
18:21:07.610 modelmbean.Descriptor.toString(): cf5cf6 Printing 4 fields [16]
All logs are coming from modelmbean and they all have the exact same timestamp. Here is an ls from the directory:
total 71G
-rw-r--r-- 1 postgres users 576K 2006-01-02 00:00 2006-01-01_0.log
-rw-r--r-- 1 postgres users 924K 2006-01-02 23:59 2006-01-02_0.log
-rw-r--r-- 1 postgres users 504K 2006-01-04 00:00 2006-01-03_0.log
-rw-r--r-- 1 postgres users 0 2006-01-04 12:37 2006-01-04_0.log
-rw-r--r-- 1 postgres users 3,4K 2006-01-04 12:44 2006-01-04_1.log
-rw-r--r-- 1 postgres users 58K 2006-01-04 13:43 2006-01-04_2.log
-rw-r--r-- 1 postgres users 60K 2006-01-11 12:29 2006-01-11_0.log
-rw-r--r-- 1 postgres users 963 2006-01-11 17:14 2006-01-11_1.log
-rw-r--r-- 1 postgres users 215K 2006-01-12 00:06 2006-01-11_2.log
-rw-r--r-- 1 postgres users 16G 2006-01-13 00:00 2006-01-12_0.log
-rw-r--r-- 1 postgres users 16G 2006-01-14 00:00 2006-01-13_0.log
-rw-r--r-- 1 postgres users 16G 2006-01-15 00:00 2006-01-14_0.log
-rw-r--r-- 1 postgres users 16G 2006-01-16 00:00 2006-01-15_0.log
-rw-r--r-- 1 postgres users 7,6G 2006-01-16 11:33 2006-01-16_0.log
Any idea? Has anyone had such a problem?
Is there a way of turning verbosity down?
-alberto-
Please disable the log file.
and set to N
Henry
How do you disable the log file??
Can you give me more detailed instructions? Where do you do that?
Thanks.
1. Shut down Kompiere,
2. As root user issue:
chown root:root ~postgres/kompiere/Kompiere2/log
3. Start up Kompiere
This is a kludge. Kompiere gets "permission denied" error but starts up nevertheless. (Renaming or removing the "log" directory doesn't work as it gets recreated anew.)
We´re having the same issue...we have CMPCS in production and the workaround we found is to delete log files at end of day, before backing up data.
We´re researching this issue now...will try the permission trick.