Products

Solutions

Learn More

Partners

Community

Blog

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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 ...LogFailures.xml.resources still going into default folder when setting is changed in log4net file LogFailures.xml.resources still going into default folder when setting is changed in log4net file
Previous
 
Next
New Post
2/12/2019 10:26 AM
 
Hi,
On our site we have moved the logs out of the default path by editing the DotNetNuke.log4net.config























LogFailures.xml.resources still going into default folder but the other log files are correctly going into the c:\log folder

Why isn't the LogFailures.xml.resources going into this folder. This is important to us as the default folder is part of the website and is therefore being copied during the syncing of our two webservers. This causes the log file to be syncing which isn;t what we want!

Can anyone tell me how to get the LogFailures.xml.resources to go into the correct folder?

Thanks in advance,
Neil.
 
New Post
5/29/2019 3:13 AM
 

We would also like to know how to change the location for the files "LogFailures.xml.resources"

 
New Post
5/29/2019 4:37 AM
 

Neil,

just tried that - I changed

<file value="Portals/_default/Logs/" />

to

<file value="D:\Logs\Web\DNN\" />

So this is completely outside the web root, and I only created the folder D:\Logs. After granting modify permissions to the app pool identity that DNN uses (e.g. IIS AppPool\DNN) to that folder, it created the structure D:\Logs\Web\DNN, and the logfile there.

After changing the line

<datePattern value="yyyy.MM.dd'.log.resources'" />

to

<datePattern value="yyyy_MM_dd_hh'.dnn-log.xml'" />

the name of the log file looks like "2019_05_29_11.dnn-log.xml"

Happy DNNing!
Michael


Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
DNN Connect 2020
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...LogFailures.xml.resources still going into default folder when setting is changed in log4net file LogFailures.xml.resources still going into default folder when setting is changed in log4net file


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