If you are running the script in the background on Linux, you may like to redirect the stdout and stderr to /dev/null. This way you can keep the ofbiz running even after closing the terminal window.

Thanks,

Raj

Gautam Deb wrote:
As BJ already pointed out, you can remove the redirection to
console.logfile from the startofbiz
script (bat or sh) and can use the ofbiz.log files for viewing activities,
which are located at {ofbiz.home}/framework/logs directory. These are
basically output from log4j api which ofbiz uses internally for logging.

You can create your custom appender for log4j for a desired output format
and file rotation policy. You can find more information on fine tuning at
http://logging.apache.org/log4j/1.2/index.html

The only possible DRAW-BACK......You can no more use SOPs in your java
code!!!

Hope this helps.

Best Regards,
Gautam Deb



On 10/23/07, Carl Johansson <[EMAIL PROTECTED]> wrote:
Would logrotate help?

http://www.linuxcommand.org/man_pages/logrotate8.html Logrotate at
linuxcommand


BJ Freeman wrote:
you can remove the redirect from the script.
then use the other logs and html to view the activity
there is no way to manage it since it is a >> at the command line.

Vinay Agarwal sent the following on 10/16/2007 9:45 AM:
Hello,

I just saw my console.log to be 11GB size. Is there a way to drop old
log
data and keep this log to a more manageable size like 100MB or less
without
having to restart OFBiz? Thanks in advance.

Regards,

Vinay Agarwal


--
View this message in context:
http://www.nabble.com/Managing-console.log-tf4635394.html#a13358487
Sent from the OFBiz - User mailing list archive at Nabble.com.





Reply via email to