Hi Raghav,

You may use the -f option when you start the server.

Usage : ./axis2_http_server [-p PORT] [-t TIMEOUT] [-r REPO_PATH] [-l LOG_LEVEL] [-f LOG_FILE]
Options :
       -p PORT          port number to use, default port is 9090
       -r REPO_PATH     repository path, default is ../
       -t TIMEOUT       socket read timeout, default is 30 seconds
       -l LOG_LEVEL     log level, available log levels:
                        0 - critical    1 - errors 2 - warnings
                        3 - information 4 - debug  5- trace
                        Default log level is 4(debug).
       -f LOG_FILE      log file, default is $AXIS2C_HOME/logs/axis2.log
or axis2.log in current folder if AXIS2C_HOME not set

Cheer,
Kaushalye

Raghavendra SM wrote:

Hi All,

Axis2C, by default writes the axis2.log file to /logs/ directory. But we need to write the axis2.log to a new directory say, /axis2_log/.

I tried changing the Makefile and Makefile.in as below,

logsdir=$(prefix)/logs  # old

logsdir=$(prefix)/axis_logs  #mine

With the above changes, the log isn’t getting written to the new path. Are the changes done above are valid and relevent? Is there any other configuration that needs to be tuned? Or is it needs to taken care at the code level of axutil? Please reply.

P.S: even Makefile.am has logsdir=$(prefix)/logs, which I haven’t changed. Does it matter?

Regards,

~raghav



--
http://kaushalye.blogspot.com/
http://wso2.org/


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

Reply via email to