From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8187 invoked by alias); 21 Jun 2003 17:24:53 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 6287 invoked from network); 21 Jun 2003 17:24:01 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 21 Jun 2003 17:24:01 -0000 Received: from dsl093-172-017.pit1.dsl.speakeasy.net ([66.93.172.17] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 19Tm6e-0006Az-00 for ; Sat, 21 Jun 2003 12:24:52 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19Tm5n-0002HA-00 for ; Sat, 21 Jun 2003 13:23:59 -0400 Date: Sat, 21 Jun 2003 17:24:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: RFC: Syntax for logging Message-ID: <20030621172358.GA8711@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i X-SW-Source: 2003-06/txt/msg00664.txt.bz2 Folks may remember the thread from a year ago: RFA: >, >>, and "tee" operators http://sources.redhat.com/ml/gdb-patches/2002-07/msg00458.html I eventually decided that my prefered syntax was: redirect [-a] [FILE [COMMAND]] log [-a] [FILE [COMMAND]] But people didn't care for the use of "-a". I still like this syntax; it's symmetric, and it allows clearly "transcript [-a]". But it's pretty clear to me that we won't reach a consensus on that. I believe Fernando liked it and Andrew didn't. I believe the best alternative at this point is: set logging [redirect|log] [append|overwrite] FILE show logging The defaults would be log,overwrite; they could be explicitly specified in order to overwrite a log file named append, if one wanted to do that. Comments, anyone? Shall I repost the patch with that change? I'd really like to see this feature added. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer