Re: Is it safe to delete the logs?

From: Steven Burn (pvt_at_noyb.com)
Date: 06/29/04


Date: Tue, 29 Jun 2004 14:11:22 +0100

Ooo, CSI, now your talking my language ;o)

As for ST, I prefer Andromeda and Stargate SG1 myself ;o)

--
Regards
Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk
Keeping it FREE!
"Ninon" <anonymous@discussions.microsoft.com> wrote in message
news:22ec101c45dd9$cc85be60$a501280a@phx.gbl...
8-)
Yes, horrible and very very sick people on that show!
Personally, I much prefer watching shows like CSI or Star
Trek TNG; at least they can speak English :-)
Ninon
>-----Original Message-----
>hehe, good morning ;o)
>
>As far as Jerry Springer goes, unfortunately yes.... my
mother used to watch
>his shows all the time (bleedin horrible if you ask me)
>
>--
>
>Regards
>
>Steven Burn
>Ur I.T. Mate Group
>www.it-mate.co.uk
>
>Keeping it FREE!
>
>
>"Ninon" <anonymous@discussions.microsoft.com> wrote in
message
>news:225c701c45dd5$57bdcbd0$a601280a@phx.gbl...
>Good Morning Steven!
>
>Yes, it's morning (8:36AM) here in the fair but polluted
>city of Toronto and I'm back to work! If my maths are
>correct you're 5 hours ahead of us.
>
>Bognor Regis seems to be a very nice place for vacation;
>you must have had a lot of fun over there
>
>I noticed that about the English language... This even
>more noticeable when you watch a show like Jerry
>Springer!  You have heard of him, did you?
>
>Have a nice day
>
>Ninon
>
>>-----Original Message-----
>>hehe, I've actually had several scenery changes and the
>best one IMHO, was
>>when I moved to Bognor Regis (to work for Butlins
>holiday camps).
>>
>>As for your English, fear not. Half the English people
>themselves can no
>>longer speak English ;o)
>>
>>As far as the time goes, twas 03:15 when you posted ;o)
>>
>>--
>>
>>Regards
>>
>>Steven Burn
>>Ur I.T. Mate Group
>>www.it-mate.co.uk
>>
>>Keeping it FREE!
>>
>>
>>"Ninon" <anonymous@discussions.microsoft.com> wrote in
>message
>>news:227a101c45d7e$e4cc1920$a301280a@phx.gbl...
>>I'm not saying she's that bad, still Canada seem pretty
>>poor in talent compared to UK!  You probably need a
>>change in scenery.  I was lucky that way; I moved from
>>Montreal to Toronto with my significant other 16 years
>>ago.  It was pretty much like moving to another country.
>>Had to learn the language since I spoke about 5 words in
>>English at the time.  Seriously, I couldn't speak more
>>than 10 English words! The most difficult part was
>>finding a job!
>>
>>I don't know what time it is in England but here it's
>>pretty late...  Time for bed soon!
>>
>>Ninon
>>
>>>-----Original Message-----
>>>hehe, Celine's not that bad <g>
>>>
>>>As for hating the UK, I'm not sure to be honest. I've
>>lived here all of my
>>>life and just errr.... hate everything about it.
>>>
>>>--
>>>
>>>Regards
>>>
>>>Steven Burn
>>>Ur I.T. Mate Group
>>>www.it-mate.co.uk
>>>
>>>Keeping it FREE!
>>>
>>>
>>>"Ninon" <anonymous@discussions.microsoft.com> wrote in
>>message
>>>news:2277201c45d78$f1a1ada0$a301280a@phx.gbl...
>>>Now, I get it you're the boss!!  Why do you say
>>>unfortunately you're from UK?  England, for one thing,
>>>have the best music and greatest bands in the world!
>>>What does Canada have?  Céline Dion, well, she may be a
>>>good signer but her music is not my cup of tea. :-)
>>>
>>>Ninon
>>>
>>>>-----Original Message-----
>>>>hehe, I don't have a boss thankfully ;o)
>>>>
>>>>As for me, unfortunately yes.... I'm from the UK :o(
>>>>
>>>>--
>>>>
>>>>Regards
>>>>
>>>>Steven Burn
>>>>Ur I.T. Mate Group
>>>>www.it-mate.co.uk
>>>>
>>>>Keeping it FREE!
>>>>
>>>>
>>>>"Ninon" <anonymous@discussions.microsoft.com> wrote in
>>>message
>>>>news:2228501c45d76$5704e840$a601280a@phx.gbl...
>>>>> Well, our bosses don't want us the get bored 8-)
>>>>>
>>>>> By the way, am I right to assume you're in UK?  I'm
>>>from
>>>>> Canada (French Canadian living in Toronto)!
>>>>>
>>>>> Ninon
>>>>>
>>>>> >-----Original Message-----
>>>>> >hehe, you could say that ;o) (web/software
>developer)
>>>>> >
>>>>> >--
>>>>> >
>>>>> >Regards
>>>>> >
>>>>> >Steven Burn
>>>>> >Ur I.T. Mate Group
>>>>> >www.it-mate.co.uk
>>>>> >
>>>>> >Keeping it FREE!
>>>>> >
>>>>> >
>>>>> >"Ninon" <anonymous@discussions.microsoft.com> wrote
>>in
>>>>> message
>>>>> >news:2224b01c45d6e$fbd6f190$a601280a@phx.gbl...
>>>>> >> So, I'm guessing you have a crazy job just like
>>>me!:-)
>>>>> >>
>>>>> >> Ninon
>>>>> >>
>>>>> >> >-----Original Message-----
>>>>> >> >hehe, I know how you feel ;o)
>>>>> >> >
>>>>> >> >No thanks necessary ;o)
>>>>> >> >
>>>>> >> >--
>>>>> >> >
>>>>> >> >Regards
>>>>> >> >
>>>>> >> >Steven Burn
>>>>> >> >Ur I.T. Mate Group
>>>>> >> >www.it-mate.co.uk
>>>>> >> >
>>>>> >> >Keeping it FREE!
>>>>> >> >
>>>>> >> >
>>>>> >> >"NInon" <anonymous@discussions.microsoft.com>
>>>wrote in
>>>>> >> message
>>>>> >> >news:2277701c45d4e$669109b0$a101280a@phx.gbl...
>>>>> >> >> Okay Steven!
>>>>> >> >>
>>>>> >> >> I'll let you know once I tried it but it may
>>>take a
>>>>> >> >> little while as being the Network
Administrator
>>>is
>>>>> half
>>>>> >> >> of my job here... The other half is Sales
>>>Analyst!
>>>>> >> >>
>>>>> >> >> But, I was thanking you for being helpful! :-)
>>>>> >> >>
>>>>> >> >> Ninon
>>>>> >> >>
>>>>> >> >> >-----Original Message-----
>>>>> >> >> >Ninon,
>>>>> >> >> >        Don't thank me until you know it
works
>>>>> <vbg>
>>>>> >> >> >
>>>>> >> >> >If it does..... your welcome ;o)
>>>>> >> >> >
>>>>> >> >> >If not, my apologies :o\
>>>>> >> >> >
>>>>> >> >> >--
>>>>> >> >> >
>>>>> >> >> >Regards
>>>>> >> >> >
>>>>> >> >> >Steven Burn
>>>>> >> >> >Ur I.T. Mate Group
>>>>> >> >> >www.it-mate.co.uk
>>>>> >> >> >
>>>>> >> >> >Keeping it FREE!
>>>>> >> >> >
>>>>> >> >> >
>>>>> >> >> >"Ninon" <anonymous@discussions.microsoft.com>
>>>>> wrote in
>>>>> >> >> message
>>>>> >> >> >news:2289001c45d4a$0e75a2d0
>$a401280a@phx.gbl...
>>>>> >> >> >> Wow that was fast, Steven!  Thank you!
>>>>> >> >> >>
>>>>> >> >> >> I copied your script so I can edit it but
>you
>>>>> were
>>>>> >> >> >> assuming correctly about the file names;
the
>>>log
>>>>> >> files
>>>>> >> >> >> are created with the date included.  Just
>>like
>>>>> this:
>>>>> >> >> >> ex040415.log or ex040526.log
>>>>> >> >> >>
>>>>> >> >> >> So, they are saved in the year, month and
>>date
>>>>> >> format.
>>>>> >> >> >>
>>>>> >> >> >> Thanks again
>>>>> >> >> >>
>>>>> >> >> >> Ninon
>>>>> >> >> >>
>>>>> >> >> >> >-----Original Message-----
>>>>> >> >> >> >Off the top of my head, you could do this
>>>with
>>>>> >> >> something
>>>>> >> >> >> along the line's
>>>>> >> >> >> >of;
>>>>> >> >> >> >
>>>>> >> >> >> ><%
>>>>> >> >> >> >    '// Example.asp
>>>>> >> >> >> >    '// ** Assumes filenames contain day,
>>>month,
>>>>> >> year
>>>>> >> >> >> >
>>>>> >> >> >> >    '// Requirements: FileSystemObject,
ASP
>>>>> >> >> >> >
>>>>> >> >> >> >    Dim FSO, Fldr, Fl
>>>>> >> >> >> >
>>>>> >> >> >> >    '// We need to create the object
before
>>>we
>>>>> can
>>>>> >> >> use it
>>>>> >> >> >> >    Set FSO = Server.CreateObject
>>>>> >> >> >> ("Scripting.FileSystemObject")
>>>>> >> >> >> >
>>>>> >> >> >> >    '// Get the folder containing the
>file's
>>>we
>>>>> >> want
>>>>> >> >> >> >    '//
>>>>> >> >> >> >    '// "./" is the folder containing this
>>>file
>>>>> >> >> >> >    Set Fldr = FSO.GetFolder
(Server.MapPath
>>>>> ("./"))
>>>>> >> >> >> >
>>>>> >> >> >> >    '// Get each file in the folder and
>>>process
>>>>> it
>>>>> >> >> >> >    For Each Fl in Fldr.Files
>>>>> >> >> >> >        '// Check the current week against
>>>the
>>>>> >> >> filename**
>>>>> >> >> >> >        if NOT Instr(1, Fl.Name, Week(Now
>>()))
>>>>> Then
>>>>> >> >> >> >            '// Delete the file
>>>>> >> >> >> >            FSO.DeleteFile Fl
>>>>> >> >> >> >            '// Write the filename to the
>>>>> browser
>>>>> >> >> >> >            Response.Write "Deleted: " &
>>>Fl.name
>>>>> >> >> >> >        End If
>>>>> >> >> >> >    Next
>>>>> >> >> >> >%>
>>>>> >> >> >> >
>>>>> >> >> >> >--
>>>>> >> >> >> >
>>>>> >> >> >> >Regards
>>>>> >> >> >> >
>>>>> >> >> >> >Steven Burn
>>>>> >> >> >> >Ur I.T. Mate Group
>>>>> >> >> >> >www.it-mate.co.uk
>>>>> >> >> >> >
>>>>> >> >> >> >Keeping it FREE!
>>>>> >> >> >> >
>>>>> >> >> >> >
>>>>> >> >> >> >"Kristofer Gafvert"
>><kgafvert@NEWSilopia.com>
>>>>> >> wrote in
>>>>> >> >> >> message
>>>>> >> >> >>
>>news:eGsqzMUXEHA.808@tk2msftngp13.phx.gbl...
>>>>> >> >> >> >> You can also create a script that
deletes
>>>the
>>>>> >> files
>>>>> >> >> >> automatically when
>>>>> >> >> >> >they
>>>>> >> >> >> >> are a week old. But i'm not much into
>>>>> scripting,
>>>>> >> so
>>>>> >> >> if
>>>>> >> >> >> you want to do
>>>>> >> >> >> >that,
>>>>> >> >> >> >> check out the scripting newsgroup, they
>>>maybe
>>>>> >> have
>>>>> >> >> >> some tips:
>>>>> >> >> >> >>
>>>>> >> >> >> >> microsoft.public.scripting.*
>>>>> >> >> >> >>
>>>>> >> >> >> >> Good Luck with your servers!
>>>>> >> >> >> >>
>>>>> >> >> >> >> --
>>>>> >> >> >> >> Regards,
>>>>> >> >> >> >> Kristofer Gafvert - IIS MVP
>>>>> >> >> >> >> http://www.ilopia.com - When you need
>>help!
>>>>> >> >> >> >>
>>>>> >> >> >> >>
>>>>> >> >> >> >> "Ninon"
>>><anonymous@discussions.microsoft.com>
>>>>> >> wrote
>>>>> >> >> in
>>>>> >> >> >> message
>>>>> >> >> >> >> news:2285e01c45d3b$3007d5d0
>>>>> $a501280a@phx.gbl...
>>>>> >> >> >> >> > Thank you Kristofer!
>>>>> >> >> >> >> >
>>>>> >> >> >> >> > As usual your answer is very
>informative
>>>and
>>>>> >> very
>>>>> >> >> >> >> > appreciated!  IIS creates a new log
>>every
>>>>> day
>>>>> >> for
>>>>> >> >> >> >> > each 'in used' services, in my case
>it's
>>>>> only a
>>>>> >> >> ftp
>>>>> >> >> >> site
>>>>> >> >> >> >> > and OWA.  Since, I just want to delete
>>>the
>>>>> old
>>>>> >> log
>>>>> >> >> >> files
>>>>> >> >> >> >> > but keep the current week, I'll be
>>>fine...
>>>>> I
>>>>> >> >> check
>>>>> >> >> >> the
>>>>> >> >> >> >> > logs daily just to make sure noone got
>>in
>>>>> >> >> >> our 'little'
>>>>> >> >> >> >> > network, better safe than sorry! :-)
>>>>> >> >> >> >> >
>>>>> >> >> >> >> > Thanks again
>>>>> >> >> >> >> >
>>>>> >> >> >> >> > Ninon
>>>>> >> >> >> >> > >-----Original Message-----
>>>>> >> >> >> >> > >You can always (almost) delete log-
>>>files if
>>>>> >> you
>>>>> >> >> >> want to.
>>>>> >> >> >> >> > They are just
>>>>> >> >> >> >> > >simple files, not used by the
>>>application,
>>>>> >> except
>>>>> >> >> >> for
>>>>> >> >> >> >> > the active logfile (it
>>>>> >> >> >> >> > >is currently writing in).
>>>>> >> >> >> >> > >
>>>>> >> >> >> >> > >So, yes, you can delete the log files
>>>(but
>>>>> >> keep
>>>>> >> >> the
>>>>> >> >> >> one
>>>>> >> >> >> >> > it is currently
>>>>> >> >> >> >> > >using, in case something happens, not
>>>sure
>>>>> how
>>>>> >> >> IIS
>>>>> >> >> >> >> > handles that).
>>>>> >> >> >> >> > >
>>>>> >> >> >> >> > >You can also disable logging of
>website
>>>>> >> activity
>>>>> >> >> if
>>>>> >> >> >> you
>>>>> >> >> >> >> > want. Right click
>>>>> >> >> >> >> > >the Website in IIS Manager, and click
>>>>> >> Properties.
>>>>> >> >> >> From
>>>>> >> >> >> >> > there you shoule be
>>>>> >> >> >> >> > >able to disable logging.
>>>>> >> >> >> >> > >
>>>>> >> >> >> >> > >--
>>>>> >> >> >> >> > >Regards,
>>>>> >> >> >> >> > >Kristofer Gafvert - IIS MVP
>>>>> >> >> >> >> > >http://www.ilopia.com - When you need
>>>help!
>>>>> >> >> >> >> > >
>>>>> >> >> >> >> > >
>>>>> >> >> >> >> > >"Ninon"
>>>>> <anonymous@discussions.microsoft.com>
>>>>> >> >> wrote
>>>>> >> >> >> in
>>>>> >> >> >> >> > message
>>>>> >> >> >> >> > >news:2276101c45d32$02a4cfc0
>>>>> >> $a401280a@phx.gbl...
>>>>> >> >> >> >> > >> Hi!
>>>>> >> >> >> >> > >>
>>>>> >> >> >> >> > >> I'm sure you'll think it's a dumb
>>>>> question
>>>>> >> but
>>>>> >> >> I
>>>>> >> >> >> need
>>>>> >> >> >> >> > to
>>>>> >> >> >> >> > >> ask it!  Is it safe to delete the
>>logs
>>>>> >> created
>>>>> >> >> by
>>>>> >> >> >> IIS
>>>>> >> >> >> >> > 6.0
>>>>> >> >> >> >> > >> (ftp and OWA)?
>>>>> >> >> >> >> > >>
>>>>> >> >> >> >> > >> Thanks in advance!
>>>>> >> >> >> >> > >>
>>>>> >> >> >> >> > >> Ninon
>>>>> >> >> >> >> > >
>>>>> >> >> >> >> > >
>>>>> >> >> >> >> > >.
>>>>> >> >> >> >> > >
>>>>> >> >> >> >>
>>>>> >> >> >> >>
>>>>> >> >> >> >
>>>>> >> >> >> >
>>>>> >> >> >> >.
>>>>> >> >> >> >
>>>>> >> >> >
>>>>> >> >> >
>>>>> >> >> >.
>>>>> >> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >.
>>>>> >> >
>>>>> >
>>>>> >
>>>>> >.
>>>>> >
>>>>
>>>>
>>>>.
>>>>
>>>
>>>
>>>.
>>>
>>
>>
>>.
>>
>
>
>.
>


Relevant Pages

  • Re: Is it safe to delete the logs?
    ... "Ninon" wrote in message ... I noticed that about the English language... ... >Steven Burn ... >Ur I.T. Mate Group ...
    (microsoft.public.inetserver.iis)
  • Re: Is it safe to delete the logs?
    ... As for your English, fear not. ... "Ninon" wrote in message ... >Steven Burn ... >Ur I.T. Mate Group ...
    (microsoft.public.inetserver.iis)
  • Re: Is it safe to delete the logs?
    ... "Ninon" wrote in message ... What does Canada have? ... >Steven Burn ... >Ur I.T. Mate Group ...
    (microsoft.public.inetserver.iis)
  • Re: Is it safe to delete the logs?
    ... "Ninon" wrote in message ... >>Steven Burn ... >>Ur I.T. Mate Group ... >>> You can also create a script that deletes the files ...
    (microsoft.public.inetserver.iis)
  • Re: Can I have a Very Large Variable?
    ... In English, that's ... ROFLMAO! ... Steven Burn ... Ur I.T. Mate Group ...
    (microsoft.public.vb.general.discussion)