Issues with the log directory

2007-09-03 Thread Raghavendra SM
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 change

Re: Issues with the log directory

2007-09-03 Thread Kaushalye Kapuruge
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 ../

RE: Issues with the log directory

2007-09-03 Thread Raghavendra SM
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:[EMAIL PROTECTED] Sent: Monday, Septembe

Re: Issues with the log directory

2007-09-03 Thread Kaushalye Kapuruge
Hmm.. have you tried axutil_env_create_all() function ? There you can specify the log file name. -Kaushalye Raghavendra SM wrote: 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

Re: Issues with the log directory

2007-09-03 Thread Milinda Pathirage
Hi, To change the default log directory you have to change the implementation of axutil_log_create function inside log.c file. In current implementation it create the path of the log directory is by concatenating "logs" with AXIS2C_HOME value (Or if AXIS2C_HOME not available logs will create insid

Re: Issues with the log directory

2007-09-03 Thread Milinda Pathirage
Hi, There is minor modification to my previous reply. You have to create the directory(Which you change according to your preference in axutil_log_create function) before you start the axis2_engine. Other wise It'will put logs inside working directory, because it can't find the directory. Thanks M

Re: Issues with the log directory

2007-09-03 Thread Dinesh Premalal
Hi, If you want to specify a new location for log file. You could do it at environment creation time. env = axutil_env_create_all("echo.log", AXIS2_LOG_LEVEL_DEBUG); I think, You can replace "echo.log" with the Full path of the log file. Please see echo sample (client) for more details.

Re: 1.1?

2007-09-03 Thread Dinesh Premalal
Hi, Samisa Abeysinghe <[EMAIL PROTECTED]> writes: > Subra A Narayanan wrote: >> Any idea if any of the following JIRA issues will be fixed in time >> for the 1.1 release >> >> http://issues.apache.org/jira/browse/AXIS2C-678 > I think Dinesh was looking into this sometime back. Dinesh it would be >

Re: 1.1?

2007-09-03 Thread Subra A Narayanan
Hi Dinesh, Do you if it will be done in time for release 1.1? It would be a great help as right now there is no way of sending meaningful error messages to client. Thanks, Subra On 9/3/07, Dinesh Premalal <[EMAIL PROTECTED]> wrote: > > Hi, > Samisa Abeysinghe <[EMAIL PROTECTED]> writes: > > Sub

Re: REST with Axis2/C

2007-09-03 Thread Samisa Abeysinghe
Subra A Narayanan wrote: Samisa, Thank you for ur reply. I think I agree with ur views. I think I will have to look for other ways of supporting REST for my web service. I was loking in to writing my own apache module since all I need is access to the request_rec struct, parse the uri and th

Re: Issues with the log directory

2007-09-03 Thread Samisa Abeysinghe
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

Re: REST with Axis2/C

2007-09-03 Thread Subra A Narayanan
Good Morning Samisa, Could you pls elaborate a little bit more on ur statement "The problem you would have to solve in this case would be, how to handle the resources requested to a service." I am not sure I understand that correctly. Also can you point me to code in Axis2/C framework where I co

Re: Issues with the log directory

2007-09-03 Thread Milinda Pathirage
Hi, Sorry for the mistake. Givng the full path to axutil_log_create function will solve your problem. inside log_create function this if condition will put log file in the path you specified if it your path contains path seperators. if (stream_name && !(axutil_rindex(stream_name, AXIS2_PATH_SEP_C

[Axis2] 1.1.0 RC2 Artifacts

2007-09-03 Thread Samisa Abeysinghe
Hi All, I have packed second set of 1.1 release candidates form the svn head and posted those here: http://people.apache.org/~samisa/1.1.0-RC2/ Please test and send in your feedback. Thanks, Samisa... -- Samisa Abeysinghe : WSO2 WSF/C "http://wso2.org/projects/wsf/c?WSO2 Web Services Fram