You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2007/07/13 23:36:04 UTC
[jira] Commented: (OFBIZ-987) Log configuration in multiple files
[ https://issues.apache.org/jira/browse/OFBIZ-987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512630 ]
Jacques Le Roux commented on OFBIZ-987:
---------------------------------------
Michael,
Why in debug.properties do you remove other lines than log4j.appender.file.File=framework/logs/ofbiz.log in this patch ?
Quickly some remarks, please, don' t :
. use tabs in your patches
. put comments like : // 15.05.07 Start change by Immi or // End Change by nowhow DABR
And last but no least, please read carefully : http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices
> Log configuration in multiple files
> -----------------------------------
>
> Key: OFBIZ-987
> URL: https://issues.apache.org/jira/browse/OFBIZ-987
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Environment: SUSE Linux 10.1 & MySql 5
> Reporter: Michael Imhof
> Priority: Minor
> Attachments: log4jPatch.txt
>
>
> To change a log file location I had to change the following files:
> debug.properties
> start.properties (or install.properties, test.properties,...)
> ofbiz-containers.xml
> And I had to be sure, that the debug.properties location is the same
> as the start.properites location!!
> Patch feature
> ==========
> The patch is decreasing the configuration to one file. The start.properties (or install.properties, test.properties,.... Depends on wich
> functionality you're starting).
> In this file you can define:
> ofbiz.log.dir=logs
> ofbiz.log.file=ofbiz.log
> Even catalina (access.log) is using the same location if not defined otherwise in the ofbiz-containers.xml.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.