Hi,
Log configuration resets itself, when I restart OFBiz. Is there a solution to keep my own configuration, after a restart ? Thanks Eric |
are you setting it up through the webtools?
which log(s), now we many? Eric DE MAULDE sent the following on 11/26/2008 8:20 AM: > Hi, > > Log configuration resets itself, when I restart OFBiz. > Is there a solution to keep my own configuration, after a restart ? > > Thanks > > Eric |
In reply to this post by Eric DE MAULDE
logging seems to be controlled by log4j.xml under /framework/base/config
It has lines like <param name="Append" value="false"/> If you change that to true.. it will append only. Harmeet On 11/26/08 11:20 AM, Eric DE MAULDE wrote: > Hi, > > Log configuration resets itself, when I restart OFBiz. > Is there a solution to keep my own configuration, after a restart ? > > Thanks > > Eric > |
In reply to this post by BJ Freeman
Hi BJ,
Yes, through the webtools. All new enabled loggers are disabled when I restart the OFBIZ service (from my OS, Debian). Eric ----- Original Message ----- From: "BJ Freeman" <[hidden email]> To: <[hidden email]> Sent: Wednesday, November 26, 2008 7:34 PM Subject: Re: Log configuration resets itself, when I restart OFBiz > are you setting it up through the webtools? > which log(s), now we many? > > Eric DE MAULDE sent the following on 11/26/2008 8:20 AM: >> Hi, >> >> Log configuration resets itself, when I restart OFBiz. >> Is there a solution to keep my own configuration, after a restart ? >> >> Thanks >> >> Eric > |
Hi Eric,
When you change the log configuration from webtools, it's log4j configuration in memory. When you restart ofbiz this configuration are initialized by the properties. You can see log4j.xml in framework/base/config for initial configuration. Nicolas Eric DE MAULDE a écrit : > Hi BJ, > > Yes, through the webtools. > All new enabled loggers are disabled when I restart the OFBIZ service > (from my OS, Debian). > > Eric > ----- Original Message ----- From: "BJ Freeman" <[hidden email]> > To: <[hidden email]> > Sent: Wednesday, November 26, 2008 7:34 PM > Subject: Re: Log configuration resets itself, when I restart OFBiz > > >> are you setting it up through the webtools? >> which log(s), now we many? >> >> Eric DE MAULDE sent the following on 11/26/2008 8:20 AM: >>> Hi, >>> >>> Log configuration resets itself, when I restart OFBiz. >>> Is there a solution to keep my own configuration, after a restart ? >>> >>> Thanks >>> >>> Eric >> > > -- Nicolas MALIN Consultant Tél : 06.17.66.40.06 Site projet : http://www.neogia.org/ ------- Société LibrenBerry Tél : 02.48.02.56.12 Site : http://www.librenberry.net/ |
Hi Nicolas,
Thank you very much. Eric ----- Original Message ----- From: "Malin Nicolas" <[hidden email]> To: <[hidden email]> Sent: Thursday, November 27, 2008 1:59 PM Subject: Re: Log configuration resets itself, when I restart OFBiz > Hi Eric, > > When you change the log configuration from webtools, it's log4j > configuration in memory. When you restart ofbiz this configuration are > initialized by the properties. > You can see log4j.xml in framework/base/config for initial configuration. > > Nicolas > > Eric DE MAULDE a écrit : >> Hi BJ, >> >> Yes, through the webtools. >> All new enabled loggers are disabled when I restart the OFBIZ service >> (from my OS, Debian). >> >> Eric >> ----- Original Message ----- From: "BJ Freeman" <[hidden email]> >> To: <[hidden email]> >> Sent: Wednesday, November 26, 2008 7:34 PM >> Subject: Re: Log configuration resets itself, when I restart OFBiz >> >> >>> are you setting it up through the webtools? >>> which log(s), now we many? >>> >>> Eric DE MAULDE sent the following on 11/26/2008 8:20 AM: >>>> Hi, >>>> >>>> Log configuration resets itself, when I restart OFBiz. >>>> Is there a solution to keep my own configuration, after a restart ? >>>> >>>> Thanks >>>> >>>> Eric >>> >> >> > > > -- > Nicolas MALIN > Consultant > Tél : 06.17.66.40.06 > Site projet : http://www.neogia.org/ > ------- > Société LibrenBerry > Tél : 02.48.02.56.12 > Site : http://www.librenberry.net/ > > |
Free forum by Nabble | Edit this page |