axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghavendra SM" <rag...@aylus.com>
Subject RE: Issues with the log directory
Date Mon, 03 Sep 2007 11:11:52 GMT
Kaushalye,

We are not starting the axis2_http_server as below. Its done 
programmatically and not through command line, we are invoking axis_init 
related functions ourselves.

Regards,
~raghav
 

-----Original Message-----
From: Kaushalye Kapuruge [mailto:kaushalye@wso2.com] 
Sent: Monday, September 03, 2007 3:19 PM
To: Apache AXIS C User List
Subject: Re: Issues with the log directory

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 isnt 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 havent 
> changed. Does it matter?
>
>  
>
> Regards,
>
> ~raghav
>
>  
>
>  
>


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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Mime
View raw message