Windows: Rotating the log file

RayG rgsub1 at btinternet.com
Wed Jan 13 18:32:09 UTC 2021


Sorry Eric,

 

I don’t want to clutter up my system with unwanted software. Cygwin should not be required. The solution should be native to windows if windows is supported.

 

RayG

 

From: Erik Dobák <erik.dobak at gmail.com> 
Sent: 13 January 2021 16:59
To: RayG <rgsub1 at btinternet.com>
Cc: Jaap Akkerhuis <jaap at nlnetlabs.nl>; unbound-users at lists.nlnetlabs.nl
Subject: Re: Windows: Rotating the log file

 

 

 

On Wed, 13 Jan 2021 at 17:57, RayG via Unbound-users <unbound-users at lists.nlnetlabs.nl <mailto:unbound-users at lists.nlnetlabs.nl> > wrote:

Hi Jaap

So who in NLnetlabs works on Windows? 

Someone must know how the offering for windows works, it is a downloadable offering on your website and works well from what I have seen.

RayG

-----Original Message-----
From: Jaap Akkerhuis <jaap at NLnetLabs.nl <mailto:jaap at NLnetLabs.nl> > 
Sent: 13 January 2021 15:28
To: RayG <rgsub1 at btinternet.com <mailto:rgsub1 at btinternet.com> >
Cc: unbound-users at lists.nlnetlabs.nl <mailto:unbound-users at lists.nlnetlabs.nl> 
Subject: Re: Windows: Rotating the log file

 "RayG" writes:

 > Having installed a syslog server on my system and as far as I can tell its working in itself. What I cannot find out is where unbound it trying to send messages to. At this point in time it would appear to be the event log which is not what I was expecting use_syslog I would have expected it to go to the local system UDP/TCP on port 514 but that does not seem to be happening.
 >
 > It is not at all helpful to clutter up the eventlog Administrative events with a whole load of unbound error messages (these come from "REFUSED" lookups.

So that apparently listens to port 514.
 >
 > Thinking about this further I would perhaps have expected to see some form of configuration as to where to send syslog messages but again I have found no useful information.
 >
 > So I have to say at this time the windows implementation writing to a physical file seems to be the best option.
 >
 > Perhaps Jaap can shed some light on how syslog is supposed to work on windows and what I can do to facilitate rotating log files given that most of what I have tried and has been suggested has not resulted in a positive outcome.
 >

No, I cann't. I'm not a Windows user so I wouldn't know. If nobody else on this list answers, I suggest you take this to a "how to run windows" list. Or just try google.

        jaao

 >
 > -----Original Message-----
 > From: Joe Abley <jabley at hopcount.ca <mailto:jabley at hopcount.ca> >  > Sent: 12 January 2021 16:55  > To: RayG <rgsub1 at btinternet.com <mailto:rgsub1 at btinternet.com> >  > Cc: unbound-users at lists.nlnetlabs.nl <mailto:unbound-users at lists.nlnetlabs.nl>   > Subject: Re: Windows: Rotating the log file  >  > On 12 Jan 2021, at 11:53, RayG via Unbound-users <unbound-users at lists.nlnetlabs.nl <mailto:unbound-users at lists.nlnetlabs.nl> > wrote:
 >
 > > I took a look at some of those offerings and there does not seem to be  > > a "free" one at all. They all want money and at £100 or there abouts,  > > that's a bit too much just to get unbound's logging to rotate neatly.
 > >
 > > I did try and install one and from what I understand, I comment the "#  > > logfile:" entry and enable the "use-syslog: yes" and it should all  > > work. But I had no luck in getting this to function as it should.
 >
 > Perhaps consider whether Windows is the best platform to be running unbound on?
 >
 >
 > Joe
 >
 >

 

 

i googled that for you and here they say: https://serverfault.com/questions/358172/equivalent-of-logrotate-for-windows

install cygwin and run logrotat as you would do on linux. (or i guess you could use that integrated linux on windows?)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20210113/aed06c2f/attachment.htm>


More information about the Unbound-users mailing list