Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 59837 invoked from network); 3 Sep 2007 09:49:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Sep 2007 09:49:51 -0000 Received: (qmail 71260 invoked by uid 500); 3 Sep 2007 09:49:46 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 71245 invoked by uid 500); 3 Sep 2007 09:49:46 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 71233 invoked by uid 99); 3 Sep 2007 09:49:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 02:49:46 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.68.5.16] (HELO relay02.pair.com) (209.68.5.16) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 03 Sep 2007 09:50:51 +0000 Received: (qmail 42431 invoked from network); 3 Sep 2007 09:49:16 -0000 Received: from unknown (HELO ?10.100.1.163?) (unknown) by unknown with SMTP; 3 Sep 2007 09:49:16 -0000 X-pair-Authenticated: 222.165.132.170 Message-ID: <46DBD885.70300@wso2.com> Date: Mon, 03 Sep 2007 15:18:53 +0530 From: Kaushalye Kapuruge User-Agent: Thunderbird 1.5.0.4 (X11/20060713) MIME-Version: 1.0 To: Apache AXIS C User List Subject: Re: Issues with the log directory References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org 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: axis-c-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-user-help@ws.apache.org