From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 66224 invoked by alias); 5 Sep 2019 12:12:58 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 65809 invoked by uid 89); 5 Sep 2019 12:12:50 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,UNSUBSCRIBE_BODY autolearn=no version=3.3.1 spammy=Problem, logger, H*c:alternative X-HELO: mail-lj1-f171.google.com Received: from mail-lj1-f171.google.com (HELO mail-lj1-f171.google.com) (209.85.208.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 05 Sep 2019 12:12:48 +0000 Received: by mail-lj1-f171.google.com with SMTP id l14so2241313lje.2 for ; Thu, 05 Sep 2019 05:12:46 -0700 (PDT) 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; bh=s30TRRU7MxeXKNiDeGy62ma+nTB8fFFRHxKSCXfyoks=; b=hNny+37/VEjTnuGrhQ5jB7Iwez3qS7Y0JhhtNKdSqudQXFBLnwXuZjAfJqyCQ7Qb0L sMmwUVAVS/RAz3VEaRuqNVLrF67dj0fVWJ6tU4NJJBSMOenc1Qg5ubbgFPpZwtx5Vw4J MIf1Q0qa+F/ylxOTJT128uB6DbAjyVNhRg6DNUvROGtn+KZvkL4mWeE3U4dk3JM66o8q VNF0uo4q+3E6GhiJkhyoqTLAOGiSejqyYbhXwjMlfY2lhKd1pFY54DMe2GMZh0IOu3z+ hKgNtdpWmXfZjfdG1+bbYgMRVCGaOL/rvO3qZzMPvoZis8p4hqNWB16EQ+oT9TROPiFT JvRA== MIME-Version: 1.0 References: In-Reply-To: From: Cary Lewis Date: Thu, 05 Sep 2019 12:12:00 -0000 Message-ID: Subject: Re: createevent access denied To: Brian.Inglis@systematicsw.ab.ca, cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-09/txt/msg00040.txt.bz2 Thanks for the tip - I already had logger installed, but without syslog-ng, it doesn't seem to create windows events. I also discovered that I had to run passwd -R in order to get createevent to work from a cygwin mintty session. On Thu, Sep 5, 2019 at 12:12 AM Brian Inglis < Brian.Inglis@systematicsw.ab.ca> wrote: > On 2019-09-04 19:29, Cary Lewis wrote: > > I am trying to write to the windows events sub system using createevent, > > but I am getting access denied. > > > > Is there a cygwin utility that provides a way to create a windows event? > > Cygwin package util-linux contains logger which should create Windows > events > with Unix fields. > > Unless you have the Cygwin syslog or syslog-ng daemon installed and > running as a > service, in which case it will write to /dev/log socket, which will be > logged to > /var/log/messages, or whatever file or processing is configured. > > Search the mail archive for previous topics including syslog in the > subject. > > -- > Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada > > This email may be disturbing to some readers as it contains > too much technical detail. Reader discretion is advised. > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple