From cfowler@outpostsentinel.com Sat Jan 7 17:51:17 2012 Received: from support.opsdc.com (support.opsdc.com [65.254.219.9]) by underdog.stansell.org (8.14.5/8.14.5) with ESMTP id q07Hp8GH002591 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 7 Jan 2012 17:51:17 GMT Received: from [192.168.100.2] ([192.168.100.2]) by support.opsdc.com (8.13.8/8.13.8) with ESMTP id q07Hp34q028598 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 7 Jan 2012 12:51:04 -0500 Subject: logfilemax From: Chris Fowler To: users@conserver.com Content-Type: text/plain; charset="UTF-8" Date: Sat, 07 Jan 2012 12:50:56 -0500 Message-ID: <1325958656.30602.274.camel@compaq-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.5 () BAYES_00 X-Scanned-By: MIMEDefang 2.72 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list Reply-To: cfowler@opsdc.com List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jan 2012 17:51:17 -0000 Hello, Is there an option to tell conserver to not accumulate files and simply truncate vs copy? I'm trying to keep from accumulating a directory of files and I do not want a cron job that will go out and delete them all. I also noticed that conserver does not support an option for character size. I know that some of this has to do with emulating MARK and SPACE parity. I can not remember now if I added support in 7.2.7 for character size. I've perused the code and sure enough can not find it. I'm running 8.1.18. I think I will be connecting to some devices that may be 7,E,1. I'm not totally sure so I am not going to do the work of implementing CSIZE yet. I want to make sure I'm not barking up the wrong tree here. Thanks, Chris From bryan@conserver.com Sat Jan 7 22:57:58 2012 Received: from shuttle.local (173-164-218-226-SFBA.hfc.comcastbusiness.net [173.164.218.226]) (authenticated bits=0) by underdog.stansell.org (8.14.5/8.14.5) with ESMTP id q07MvvM6028932 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Sat, 7 Jan 2012 22:57:58 GMT Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1251.1) Subject: Re: logfilemax From: Bryan Stansell In-Reply-To: <1325958656.30602.274.camel@compaq-desktop> Date: Sat, 7 Jan 2012 14:57:55 -0800 Message-Id: References: <1325958656.30602.274.camel@compaq-desktop> To: users@conserver.com X-Mailer: Apple Mail (2.1251.1) X-Spam-Score: 0.163 () BAYES_00,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.72 on 209.182.219.30 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by underdog.stansell.org id q07MvvM6028932 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jan 2012 22:57:58 -0000 On Jan 7, 2012, at 9:50 AM, Chris Fowler wrote: > Hello, > > Is there an option to tell conserver to not accumulate files and simply > truncate vs copy? I'm trying to keep from accumulating a directory of > files and I do not want a cron job that will go out and delete them all. Yep, there's no support for that at the moment. There could be an unlink() added to the end of RollLogs() function in conserver/group.c. > I also noticed that conserver does not support an option for character > size. I know that some of this has to do with emulating MARK and SPACE > parity. I can not remember now if I added support in 7.2.7 for > character size. I've perused the code and sure enough can not find it. > I'm running 8.1.18. I think I will be connecting to some devices that > may be 7,E,1. I'm not totally sure so I am not going to do the work of > implementing CSIZE yet. I want to make sure I'm not barking up the > wrong tree here. The parity setting you define in the config will trigger some of this. There's a mapping in conserver/consent.c: struct parity parity[] = { {"even", PARENB | CS7, 0}, {"mark", PARENB | CS7 | PARODD | PAREXT, 0}, {"none", CS8, 0}, {"odd", PARENB | CS7 | PARODD, 0}, {"space", PARENB | CS7 | PAREXT, 0}, }; So, use even parity and you end up with 7,E,1 (in theory, at least). Bryan