Vanilla Logs Enabler

vanilla_logs.png - width=1625 height=870
Mod to enable the TS4 vanilla logs on startup. Based on https://modthesims.info/d/606667/sims-log-enabler.html by scumbumbo.
Cheat commands
While running these commands are available (to be entered in the cheat console):
- logs.enable .... Enable logging, the log is always appended. Restarting TS4 clears the log.
- logs.disable ... Disable logging and close all open log files.
- logs.flush ..... Write buffered logs to disk.
- logs.level n ... Change the log level to n=[0..5] (FATAL, ERROR, WARN, INFO, DEBUG or ALWAYS)
All console changes are temporarily. They are not persisted in the configuration file.
Configuration file
On startup, it will create a configuration file with these options:
- ENABLE_LOGGING: bool = True ... Write the vanilla logs when starting TS4
- BUFFERING: int = 1 ............ Buffer ans write one line. ˂0:full; 0:off, 1:line; 2:os_default; ˃2:byte_size. https://docs.python.org/2/library/functions.html#open
- FORCE_FLUSH: bool = True ...... False: Don't flush the file after every write (if buffering is set)
- LOG_LEVEL: int = 5 ........... [0..5] (FATAL, ERROR, WARN, INFO, DEBUG or ALWAYS)
- GROUPS: set = {} .............. {}=All. Specify individual case-sensitive groups to log, e.g. {'Zone', 'Utils'}
The file is based on the Python dict() datatype. Use 'True' or 'False' as this is not JSON.
Addendum
Game compatibility
This mod has been tested with The Sims 4 1.99.264 (2023-07), TS4-Tools 2.7 (2023-06), TS4Lib 0.0.24 (2023-06).
It is expected to be compatible with many upcoming releases of TS4, TS4-Tools and TS4Lib.
Dependencies
If not installed download and install TS4 and these mods.
All are available for free.
Installation
- Locate the localized The Sims 4 folder which contains the Mods folder.
- Extract the zip file into this The Sims 4 folder.
- It will create the directories/files Mods/_o19_/$mod_name.ts4script`, [i]Mods/_o19_/$mod_name.package`, [i]mod_data/$mod_name/* and/or mod_documentation/$mod_name/*
- mod_logs/$mod_name.txt will be created as soon as data is logged.
Manual Installation
If you don't want to extract the zip file into The Sims 4 folder you might want to read this.
- The files in ZIP-File/mod_data are usually required and should be extracted to The Sims 4/mod_data.
- The files in ZIP-File/mod_documentation are for you to read it. They are not needed to use this mod.
- The Mods/_o19_/*.ts4script files can be stored in a random folder within Mods or directly in Mods. I highly recommend to store it in _o19_ so you know who created it.
Usage Tracking / Privacy
This mod does not send any data to tracking servers. The code is open source, not obfuscated, and can be reviewed.
Some log entries in the log file ('mod_logs' folder) may contain the local username, especially if files are not found (WARN, ERROR).
External Links
Sources
Copyright and License
- © 2023 Oops19
- License for '.package' files: Electronic Arts TOS for UGC
- License for other media unless specified differently: CC BY 4.0 unless the Electronic Arts TOS for UGC overrides it.
Have fun extending this mod and/or integrating it with your mods.
Oops19 / o19 is not endorsed by or affiliated with Electronic Arts or its licensors.
Game content and materials copyright Electronic Arts Inc. and its licensors.
Trademarks are the property of their respective owners.
TOS
- Please don't put it behind a paywall.
- Please don't create mods which break with every TS4 update.
- For simple tuning modifications use Patch-XML
- or LiveXML.
- To check the XML structure of custom tunings use VanillaLogs.
Filename | Type | Size |
---|---|---|
VanillaLogs_v3.0.2-mts.zip | zip | |
vanilla_logs.ts4script | ts4script | 8656 |
README.md | md | 4382 |
Note from the Creator:
Custom installation instructions! READ ME!
In addition to the normal installation instructions, this download also has a custom instruction, as follows:
1. Download: Click the download link to save the .rar or .zip file(s) to your computer.
2. Extract: Use 7zip (recommended), WinRAR (Windows) or Stuffit (OS X) to extract the file(s) from the .rar or .zip file(s). OS X also has a built-in utility for that (just rightclick).
3. Locate the localized 'The Sims 4' folder which contains the 'Mods' folder and extract the zip files there. It will extract itself to 'Mods/_o19_/*.ts4script' and to 'mod_documentation/vanilla_logs/radme.md'.
Advanced users may locate the .ts4script file and place it somewhere in 'Mods' manually.
Need more information?
- For a full guide to downloading complete with pictures and more information, see: Game Help: Downloading for Fracking Idiots.
VanillaLogs_v3.0.2-mts.zip
Download
Uploaded: 19th Jul 2023, 6.5 KB.
154 downloads.
|
||||||||
For a detailed look at individual files, see the Information tab. |
Install Instructions
1. Download: Click the download link to save the .rar or .zip file(s) to your computer.
2. Extract: Use 7zip (recommended), WinRAR (Windows) or Stuffit (OS X) to extract the file(s) from the .rar or .zip file(s). OS X also has a built-in utility for that (just rightclick).
3. Locate the localized 'The Sims 4' folder which contains the 'Mods' folder and extract the zip files there. It will extract itself to 'Mods/_o19_/*.ts4script' and to 'mod_documentation/vanilla_logs/radme.md'.
Advanced users may locate the .ts4script file and place it somewhere in 'Mods' manually.
Need more information?
- For a full guide to downloading complete with pictures and more information, see: Game Help: Downloading for Fracking Idiots.
Loading comments, please wait...
Updated: 28th Jul 2023 at 8:03 PM
-
by scripthoge 12th Sep 2014 at 8:33pm
371 513.7k 1.1k
-
by weerbesu updated 14th Apr 2021 at 9:23pm
111 168.8k 386
-
by Reve updated 18th Aug 2024 at 12:52pm
21 29k 65
-
by JungleSim updated 3rd Mar 2025 at 9:01am
15 19.7k 31
-
by Scipio Garling 26th Nov 2024 at 10:18pm
6 6.5k 11
-
RunCheatCommands - Resurrections
by o19 16th Mar 2024 at 12:00am
Resurrections - Recently some UGC creators decided to quit modding forever. more...
3 4.5k 2
-
Dynamic Interactions - Resurrections
by o19 16th Mar 2024 at 12:26am
Dynamic Interactions Resurrections - Recently some UGC creators decided to quit modding forever. more...
2 5.3k 5
-
GetTogether Club Limits for TS4 - Resurrections
by o19 23rd Jan 2024 at 6:51pm
GetTogether Club Limits for TS4 - Resurrections Resurrections - Recently some UGC creators decided to quit modding forever. more...
+1 packs
Get Together