Yes, it's OK to delete them.  CF just creates new ones.  If you need to read
a very large log, you might want to rename it first, then try opening it in
notepad, or a text editor that can handle large files.

I don't believe there's any mechanism within CF to more intelligently manage
the logs.  It would be nice, though, if you could rotate them or have CF
purge old entries so that you could ensure that the logs don't exceed a set
size.

You could create a script of your own, in Perl or somesuch to trim the logs.
Just don't delete the first line within the files, which contains the column
names.  I've never had any problems opening them within Notebad and
periodically trim them down and save them.

Jim


----- Original Message -----
From: "Mark M. Kecko" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 06, 2002 1:39 PM
Subject: CF LOGS - Deleting, Purging?


> Will deleting the Application.log file OR the Email.log OR the Errors.log
> file for ColdFusion5 cause any problems?
>
> I've never really paid much attention to these but now that I'm having
> problems with my server and I'm trying to look at them, they're just too
big
> to open!  Can I delete them and get a fresh start?  Is there a way to
> automatically purge entries in these logs after so many days to prevent
this
> from happening again.  Thanks for any insight.
>
> Mark Kecko
> The Computer Guy
> MediaPost Communications
> [EMAIL PROTECTED]
> http://www.mediapost.com
> (203)222-0330 ext309
______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to