DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Admin logs taking lots of memory

 16 Replies
 2 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Page 2 of 2 << < 12
Author
Messages
Advanced Member
Posts: 228
Advanced Member
New Poster
New Poster
Congrats on posting!
Thanks again for your advice and information. I fixed the Host alert issue, but still need to figure out why the logs are so huge.

In the log file, there are many entries that look something like htis:

2021-06-16 00:15:08,078 [SCZAS51][Thread:22][DEBUG] DNN.Trace - PageBase.IterateControls Info (TabId:96,ControlId: )

Do you know what these are?

Thanks

Tom
Veteran Member
Posts: 1246
Veteran Member
MVP
MVP
You're an MVP!
It appears that log4net is set up to log DEBUG messages.

The config file for log4net is DotNetNuke.log4net.config.

You will want to look at the "level" setting which, normally, is set for ERROR



The possible settings are:

ALL
DEBUG
INFO
WARN
ERROR
FATAL
OFF

So, if level is not set to INFO, I'd reset it to that.

And, you can delete the existing .log files.
Advanced Member
Posts: 228
Advanced Member
New Poster
New Poster
Congrats on posting!

Thanks again for this - I see that now. Our internet site is set to the ERROR setting.

Do you know the difference between the INFO and ERROR settings?

Thank you!

Veteran Member
Posts: 1246
Veteran Member
MVP
MVP
You're an MVP!

Google "Log4net."

INFO should contain more data ...

Advanced Member
Posts: 228
Advanced Member
New Poster
New Poster
Congrats on posting!

Thanks - One last question - after making this a change to the DotNetNuke.log4net.config , does the site need to be restarted? Does there need to be an IIS reset?

Thanks again for all your help

Veteran Member
Posts: 546
Veteran Member
MVP
MVP
You're an MVP!
AFAIK, changing any .config file will restart the website automatically, but you may restart the app pool to be sure. No need for an IIS reset.
Advanced Member
Posts: 228
Advanced Member
New Poster
New Poster
Congrats on posting!
Thanks very much
Page 2 of 2 << < 12

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

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

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. 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.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved