RimWorld Mods

Log After Def Error Mod

Author of the Log After Def Error Mod: mlie

Log After Def Error Mod improves RimWorld’s XML parsing error reporting by printing the affected def details directly in the log. This update of ordpuss’ mod is especially useful for modders and troubleshooters who need clearer information than the very limited vanilla parsing exceptions.

Log After Def Error Features

The Log After Def Error Mod prints detailed information about the def involved whenever an error occurs while parsing XML into C# objects. This makes locating broken XML definitions much easier during debugging.

What the mod does

  • Logs the affected def when an XML parsing error occurs.
  • Provides more useful debugging information than vanilla RimWorld.
  • Helps identify exactly which XML file and definition caused the issue.

Logged information format

The information is logged in the following structure:

  • defName:modName/pathToXml/xmlFile.xml.

This allows you to quickly trace the problem back to the exact definition and source file that triggered the parsing failure.

Using the log output

The relevant log file is Player.log, which should be located in the parent folder of your save folder.

You can also share a HugsLib log instead when reporting issues, if that is more convenient for troubleshooting.

Compatibility notes

When troubleshooting the Log After Def Error Mod:

  • See if the error persists if you just have this mod and its requirements active.
  • If not, try adding your other mods until it happens again.
  • Always post your log using the Log Uploader.
  • For best support, please use the Discord-channel for error-reporting.
  • Do not report errors by making a discussion-thread, I get no notification of that.
  • If you have the solution for a problem, please post it to the GitHub repository.
  • Use RimSort to sort your mods.

Additional credits: ordpuss.

Hm, you're using an ad blocker...

We get it, ads are not what you’re here for. But ads help us keep the lights on. We deliver up-to-date mods, guides and plenty of RimWorld content at no cost to you. So, please, add us to your ad blocker’s whitelist to continue browsing the RimWorld Base. 

Please whitelist us on your ad blocker and

Get a lifetime ad-free experience with the purchase of any RimWorld merchandise from our store. 

Still seeing this message after making a purchase? Click here to fix it

Get your RimWorld T-Shirt!

Dress in RimWorld style. For you or your loved ones!