[ 
https://issues.apache.org/jira/browse/AXIS2C-711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532355
 ] 

Stefano Pettini commented on AXIS2C-711:
----------------------------------------

Here are the lines in my httpd.conf related to logging:

ErrorLog logs/error_log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" 
combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog logs/access_log combined

Here is Axis2/C config file (parsed before logging lines above):

LoadModule axis2_module /usr/local/axis2c/lib/libmod_axis2.so

Axis2RepoPath /usr/local/axis2c
Axis2LogFile /etc/httpd/logs/axis2c.log
Axis2LogLevel info

<Location /ws>
 SetHandler axis2_module
</Location>


Thank you!
S. 

> Log messages when deployed to apache written to wrong file
> ----------------------------------------------------------
>
>                 Key: AXIS2C-711
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-711
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/deployment
>    Affects Versions: 1.0.0, 1.1.0
>         Environment: RedHat Enterprise Linux 4 running Apache 2.0.52
>            Reporter: Stefano Pettini
>            Priority: Minor
>
> According to user manual:
> PATH_TO_LOG_FILE has to be replaced with the full path to where you wish to 
> have the Axis2/C log file, for example, /tmp/axis2.log. Note that the log 
> file path should have write access to the daemon user account under which the 
> Apache2 HTTPD process is run.
> It doesn't seem to work: Axis log messages are written to apache's error_log 
> file, not the file specified with PATH_TO_LOG_FILE.

-- 
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