This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: createevent access denied
- From: Cary Lewis <cary dot lewis at gmail dot com>
- To: Brian dot Inglis at systematicsw dot ab dot ca, cygwin at cygwin dot com
- Date: Thu, 5 Sep 2019 08:12:33 -0400
- Subject: Re: createevent access denied
- References: <CAEF1h+UZYYuwgw88=qOvLN-Xi=uSSPQK1tf2JkA5LMz5kaSq3A@mail.gmail.com> <de45fde4-e455-08d3-4e85-4c01a1ec737f@SystematicSw.ab.ca>
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