Return-Path: X-Original-To: apmail-logging-log4j-user-archive@www.apache.org Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0869210A14 for ; Wed, 26 Mar 2014 15:12:30 +0000 (UTC) Received: (qmail 26299 invoked by uid 500); 26 Mar 2014 15:12:29 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 25593 invoked by uid 500); 26 Mar 2014 15:12:21 -0000 Mailing-List: contact log4j-user-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@logging.apache.org Received: (qmail 25581 invoked by uid 99); 26 Mar 2014 15:12:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Mar 2014 15:12:20 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sschaefer1@woh.rr.com designates 107.14.166.232 as permitted sender) Received: from [107.14.166.232] (HELO cdptpa-oedge-vip.email.rr.com) (107.14.166.232) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Mar 2014 15:12:13 +0000 Authentication-Results: cdptpa-oedge01 smtp.user=sschaefer1@woh.rr.com; auth=pass (LOGIN) Received: from [107.14.174.248] ([107.14.174.248:3307] helo=cdptpa-web02) by cdptpa-oedge01 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTPA id 52/4E-23300-83EE2335; Wed, 26 Mar 2014 15:11:52 +0000 Message-ID: <20140326151152.CDNKD.50505.root@cdptpa-web02> Date: Wed, 26 Mar 2014 15:11:52 +0000 From: To: log4j-user@logging.apache.org Subject: permissions on log files that RollingFileAppender creates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) Sensitivity: Normal X-Originating-IP: from 20.137.2.50 by webmail.woh.rr.com; Wed, 26 Mar 2014 15:11:52 +0000 X-RR-Connecting-IP: 107.14.168.118:2525 X-Cloudmark-Score: 0 X-Virus-Checked: Checked by ClamAV on apache.org In my log4j.properties, it is configured to use log4j.appender.logfile=org.apache.log4j.RollingFileAppender In previous versions, the log files it auto-created had 660 (rw-rw----) permissions, but now it seems to create them with 640 (rw-r-----). Is there a property I can set within the log4j.properties file to tell the file appender what permissions to create the new log files with? I am working with an Oracle supplied Apache server. Oracle-Application-Server-10g/10.1.3.5.0 Oracle-HTTP-Server The previous versions were 10.1.2.x.x that created the log files with the desired 660 permissions. Due to patching level requirements, I have to be at the 10.1.3.5.0 level. --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org