Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 77966200B5B for ; Fri, 5 Aug 2016 20:04:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 76320160A64; Fri, 5 Aug 2016 18:04:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C54C2160A8E for ; Fri, 5 Aug 2016 20:04:03 +0200 (CEST) Received: (qmail 55291 invoked by uid 500); 5 Aug 2016 18:04:02 -0000 Mailing-List: contact users-help@spamassassin.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@spamassassin.apache.org Received: (qmail 55281 invoked by uid 99); 5 Aug 2016 18:04:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Aug 2016 18:04:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 265CC186445 for ; Fri, 5 Aug 2016 18:04:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.3 X-Spam-Level: X-Spam-Status: No, score=0.3 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id rEoRqCJ_FGrF for ; Fri, 5 Aug 2016 18:04:00 +0000 (UTC) Received: from mail02.lsn.net (mail02.lsn.net [66.90.130.128]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTP id 57B435F20C for ; Fri, 5 Aug 2016 18:03:59 +0000 (UTC) Received: from asimov.shanew.net (67-198-79-171.dyn.grandenetworks.net [67.198.79.171]) by mail02.lsn.net (8.14.4/8.13.6) with ESMTP id u75I3pTa017971 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 5 Aug 2016 13:03:51 -0500 X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.98.4 at av01.lsn.net Received: from asimov.shanew.net (localhost [127.0.0.1]) by asimov.shanew.net (8.14.9/8.14.9) with ESMTP id u75I3ptA037828 for ; Fri, 5 Aug 2016 13:03:51 -0500 Received: from localhost (shanew@localhost) by asimov.shanew.net (8.14.9/8.14.9/Submit) with ESMTP id u75I3p84037825 for ; Fri, 5 Aug 2016 13:03:51 -0500 X-Authentication-Warning: asimov.shanew.net: shanew owned process doing -bs Date: Fri, 5 Aug 2016 13:03:51 -0500 (CDT) From: Shane Williams X-X-Sender: shanew@asimov To: users@spamassassin.apache.org Subject: Unique identifier in debug output Message-ID: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII archived-at: Fri, 05 Aug 2016 18:04:04 -0000 I currently run spamd (3.4.1) with the --debug flag and a subset of debug channels and it handles enough traffic that the debug information for emails regularly overlap in the log file. While each line contains the literal text "spamd" followed by the pid of the child (in brackets), those pids obviously recur again and again throughout the log file. Is there some way to get a unique (or even mostly unique) identifier such that I could use it to grep a single "run" of a child process? I don't see any options that would do this, so I suspect it will require changing the code, but I thought I'd ask in case I just missed something. -- Public key #7BBC68D9 at | Shane Williams http://pgp.mit.edu/ | System Admin - UT CompSci =----------------------------------+------------------------------- All syllogisms contain three lines | shanew@shanew.net Therefore this is not a syllogism | www.ischool.utexas.edu/~shanew