From users-return-268709-archive-asf-public=cust-asf.ponee.io@tomcat.apache.org Thu Nov 7 20:20:50 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id E6D66180630 for ; Thu, 7 Nov 2019 21:20:49 +0100 (CET) Received: (qmail 65004 invoked by uid 500); 7 Nov 2019 20:20:46 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 64993 invoked by uid 99); 7 Nov 2019 20:20:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Nov 2019 20:20:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 665C11A442F for ; Thu, 7 Nov 2019 20:20:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.199 X-Spam-Level: X-Spam-Status: No, score=-0.199 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ZWb0CYHCEV1f for ; Thu, 7 Nov 2019 20:20:44 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::229; helo=mail-lj1-x229.google.com; envelope-from=knst.kolinko@gmail.com; receiver= Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id A1C8C7DDBD for ; Thu, 7 Nov 2019 20:20:43 +0000 (UTC) Received: by mail-lj1-x229.google.com with SMTP id p18so3722940ljc.6 for ; Thu, 07 Nov 2019 12:20:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=aMAhmeCjgOR4RNCTfX7di2+fp8bSMQcKdGpTaJodux4=; b=TFfQ8lFi7N6+kYcCvyE73fzXXxxjyWaCkou/3j4z5CLRTxtj+hPDKWcXljjr/T1muv P29yEFdyTpXTZAN51cPtnIlfuApaZvm4egv2XQMlNcfwnWXeiP0zqSP/RUhHwzwQcQP+ nkvbXAsgJlkp4tABsT4tgPBPNjz9TPY9vO9ByO7VsVrduy24iQpXQFa+AE0t/hDP+XD8 B94WLF46rw+ENR0qUeerD2f7HpGhsCijB1UKQabyo4lgTP1ua0yToSjRSOzBe+5xXeUN kScFPuQS93jOWNMa6XRQyCHLeusvJceb53OhUl2iWywXpLtXjDUVoPhNbHyM9tDirdiL HHxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=aMAhmeCjgOR4RNCTfX7di2+fp8bSMQcKdGpTaJodux4=; b=dXS4xa5WoUqAZIHnW9Zrm6cRxbEbMjg8sfkTtlrQO4zNPHYhbtn1HLPkZYzesebYT8 lRHydaaCQv9sZNaewfszRBjK6Y/MstYQ8q47ccm3Z4RZ20sitSn+aMehvwJrl56Aqtyk 9DKKksmTv+eLgOyjvgbpKWtbpgopYpOKOIVFwpzMoFiIU3oULx9ZNwyaX56kipcC9Tk0 DErFSjHF5zVCBSn14Gg24GoVZezPHx+BwVHLONDAJO7B10+Zh7lWVAYidd/0GogU4SNo r+BB/e8+SjV5bR5Yt22AwMGQZMB2CeDPG4t+a9TwMaA+Vs2y+tPgYAWlS7qLM52Qw1pH 1JNg== X-Gm-Message-State: APjAAAV1pZ2Al94RTaQou+s3aoBPuD92ZxvEVDqmzXg1xChUQ8Arxvty WTsy9KwR6XxPxMVDgb/W4X9X50ys4llToFN945nZ8aY78vM= X-Google-Smtp-Source: APXvYqwoElKdmTLOiL7GAwl+486wRTfYsNy6DGnDQRKag34KBciALqhYbX8wf4pkM77NM1Y67CSMW9p0wH4C4gAWZjA= X-Received: by 2002:a2e:8608:: with SMTP id a8mr3984982lji.172.1573158042703; Thu, 07 Nov 2019 12:20:42 -0800 (PST) MIME-Version: 1.0 References: <227d3b65-caa4-7759-3135-d158d63d2403@christopherschultz.net> In-Reply-To: From: Konstantin Kolinko Date: Thu, 7 Nov 2019 23:20:32 +0300 Message-ID: Subject: Re: Getting Tomcat internal logging working To: Tomcat Users List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =D1=87=D1=82, 7 =D0=BD=D0=BE=D1=8F=D0=B1. 2019 =D0=B3. =D0=B2 17:11, Christ= opher Schultz : > > I'm using bin/catalina.sh start to launch Tomcat on Macos. The 'ps' > command shows the following partial command-line: > > [...] > - -Djava.util.logging.config.file=3D${CATALINA_BASE}/conf/logging.propert= ies > - -Djava.util.logging.manager=3Dorg.apache.juli.ClassLoaderLogManager [..= .] > > The file ${CATALINA_BASE}/conf/logging.properties does indeed have the > changes below. OK, good. (I hope that `ps` shows the actual path to logging.properties. There should not be unexpanded reference to a environment variable above.) This reminds me: ClassLoaderLogManager allows each web application to have its own configuration of logging. If you have a "logging.properties" file elsewhere in classpath of that web application, it will have precedence over the default one. The recommended use of this technology is to place your configuration into WEB-INF/classes/logging.properties file of your web application. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org