This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: createevent access denied


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]