as far as not having errors logged, i will risk it, its better than not having my drive operational.
For Mono: Disabling logging for
MonoDevelop-Unity might not be
possible directly within the
application. A workaround could be to
create a script to automatically clear
the log files periodically.
Create a new text file and rename it to something like clear_logs.bat.
Open the file in a text editor and paste the following code:
God forbid deleting the logs, are you serious?
I don’t want any write commands on my SSD, so you suggest adding another write command? (Which is deleting, in case you don’t know, when you delete something, you mark that area in your filesystem to be re-written later on , so deleting is another write operation that can add to SSD tearing).
Anyone else got more workarounds for me?
EDIT : BUG FOUND - when disabling write permission to unity at %appdata"/unity, when attempting to start unity 5, the program crashes.
This should not be the case , a program shouldn’t crash because it failed to create / modify a log file, it should report an error and do a clean exit, If this error still exist in newer versions of unity, please fix, Thanks in advance.
WEBGL Without Custom Template: After building, go to "build" folder. Open "index.html," find </body> and after it Paste: <script> console.log = function() {}; console.warn = function() {}; console.error = function() {}; </script> Save. Refresh already opened page (localhost which had opened after the build was done) in browser ; console is disabled. WEBGL Using Custom Template: Open "index.html" inside webgl template folder that you are using. Find </body>, paste script. Save. Build the application; console is disabled.
– Glaudia