Learn More





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 ...Disable Writing of Log FilesDisable Writing of Log Files
New Post
6/18/2014 6:43 AM

Good morning everyone,

I'm using a DNN 7.2.2

I see that in Portals\_default\Logs my application is writing very big log files.

I need to disable this log writing, how do I disable this?

It's not important to delete these files, i simply need that DNN doesn't write anymore.

Thank you in advance

New Post
6/18/2014 7:11 AM


usually there are errors logged in these files - if they get big it should ring some alarm bells. You can view them using a text editor, I would try to find out the reason for these errors.

As I don't know if writing the logfiles can be turned off or not (and don't remember such an option) I would suggest using a tool like DelAge32, writing a batch file and calling this by a (Windows) scheduled task to get rid of the files.

DELAGE32.EXE C:\DNN\Portals\_default\0\Logs\*.* 10

would delete all files older than 10 days from that folder.

Best wishes

Michael Tobisch
DNN★MVP - Michael Tobisch's Site about DNN, SQL Server, ASP.Net and other related stuff - The most vibrant community around the DNN-platform
New Post
6/18/2014 7:48 AM
you may modify log4net.config, not to log Errors, but I would investigate the cause of the errors being logged instead and fix this.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
New Post
6/18/2014 10:56 AM

Thank you, I edited the log4net file in this way:

<log4net threshold="OFF" />

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Disable Writing of Log FilesDisable Writing of Log Files

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.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?