[ 
https://issues.apache.org/jira/browse/AXIS2-3073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517756
 ] 

Upul Godage commented on AXIS2-3073:
------------------------------------

At present I don't see the log messages for axis2server.sh, wsdl2java.sh etc.  
It seems the log configuration files are not visible to the system anyway.

You can add these 2 properties to the setenv.sh to initialize it properly.  
commons-logging.properties file is not needed.
You can put the log4j.properties file in the conf directory with these 
settings. Keeping it at a usual place like conf directory, the user can 
customize it if required.

In setenv.sh (in one line):

export JAVA_OPTS="$JAVA_OPTS 
"-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger" 
"-Dlog4j.configuration=file:../conf/log4j.properties

In axis2server.sh etc. add $JAVA_OPTS:

java $JAVA_OPTS -classpath $AXIS2_CLASSPATH 
org.apache.axis2.transport.SimpleAxis2Server \
-repo $AXIS2_HOME/repository -conf $AXIS2_HOME/conf/axis2.xml $*

> commons-logging and log4j property files should not be placed at the root of 
> axis2 binary distro
> ------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3073
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3073
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Charitha Kankanamge
>            Assignee: Deepal Jayasinghe
>            Priority: Minor
>
> Currently commons-logging.properties and log4j.properties are located at the 
> root of axis2-1.3 RC3 binary distribution. These files should be placed 
> either in conf or lib directory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to