Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 81720 invoked from network); 13 Oct 2006 13:36:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Oct 2006 13:36:17 -0000 Received: (qmail 16468 invoked by uid 500); 13 Oct 2006 13:36:16 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 16241 invoked by uid 500); 13 Oct 2006 13:36:14 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 16230 invoked by uid 99); 13 Oct 2006 13:36:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Oct 2006 06:36:14 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of legolas.w@gmail.com designates 66.249.92.168 as permitted sender) Received: from [66.249.92.168] (HELO ug-out-1314.google.com) (66.249.92.168) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Oct 2006 06:36:13 -0700 Received: by ug-out-1314.google.com with SMTP id g33so427778ugd for ; Fri, 13 Oct 2006 06:35:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=RhtvfF2FlSsOS8ZcqoWNxjKXZObm2ywZnub7m/HpPz0+6JeIuY0LvqHb+1c7OBxIumRgcKf74iNErySLZWA5yuTxQPde2yySeRReZMpWIi5EV5c75AVD8eZqjxsDpVRHTK1stiNaqhQsvuL3noiFZ1ZYP/2Kmu0oCfe71H53hE0= Received: by 10.67.105.19 with SMTP id h19mr4341893ugm; Fri, 13 Oct 2006 06:35:51 -0700 (PDT) Received: from ?85.9.120.221? ( [85.9.120.221]) by mx.google.com with ESMTP id x37sm282926ugc.2006.10.13.06.35.47; Fri, 13 Oct 2006 06:35:51 -0700 (PDT) Message-ID: <452F9577.3070504@gmail.com> Date: Fri, 13 Oct 2006 17:02:39 +0330 From: legolas wood User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Derby Discussion Subject: Re: how to turn off all derby logging , specially derby.log References: <452EACC2.9090601@gmail.com> <452F351A.3060400@gmail.com> <452F784D.5050203@Sun.COM> In-Reply-To: <452F784D.5050203@Sun.COM> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N John Embretsen wrote: > legolas wood wrote: >> I looked at the jira issue , but i can not understand whats going on. >> both issue are talking about transactions logs which is a required part >> of Database itself and is needed for later recovery stuff. >> I want to turn off informational logging , allways derby create a log >> file named Derby.log which is not wanted , i need to turn that off. > > I think that is possible, by specifying a (Java) stream to which the > error/info log will be written instead. Take a look at the Tuning > guide pages for the following properties: > > derby.stream.error.field > derby.stream.error.method > > Thank you for reply. how i can use this parameters from within java source code of my application ? thanks