Products

Solutions

Learn More

Partners

Community

Blog

About

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Can one safely delete old log files? If yes, can it be automated?Can one safely delete old log files? If yes, can it be automated?
Previous
 
Next
New Post
1/24/2019 7:02 AM
 
...

DotNetNuke 8 Users,

Please help.

Can one safely delete old log files? If yes, can it be automated?

These are the kind of folders that I have in mind.

C:\inetpub\wwwroot\dotnetnuke\Portals\_default\Logs

C:\inetpub\wwwroot\dotnetnuke\Portals\0\Logs

These are are the kind of files that I have in mind.

2016.07.19.log.resources

Can these safely be deleted?

Can these safely be removed in bulk?

Can such deletion be automated via DotNetNuke itself? Rolling purge? Auto delete all older than 1 year? Etc?

Please advise.

Thanks.

-- Mark Kamoski

...
 
New Post
1/24/2019 9:21 AM
 
Mark,

I would say: yes, you can delete them if you don't need them anymore.

And yes, you can delete them automatically, but not with DNN. You need some tool that is able to delete by age, this could be a PowerShell script, and then assign a Scheduled Task in Windows.

I use DELAGE32 for that (https://www.horstmuc.de/wbat32.htm) - which is quite an old tool, but helps...

Happy DNNing!
Michael

Michael Tobisch
DNN★MVP
dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
4/8/2019 7:13 PM
 

Hi Mark,

DNNBackup 8.6+ includes a tool to delete files older than X days. This is, DNN Admin Log, Site Log, Schedule History, and Host (Server) Log Files. I.e. .log.resources files under /portals/_default/Log

https://www.evotiva.com/products/dnn-...

 

Thanks,

Horacio


 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Can one safely delete old log files? If yes, can it be automated?Can one safely delete old log files? If yes, can it be automated?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out