[Tex/LaTex] Logfile very large

bibliographiesbibtexloggingtexstudio

Everytime I compile my file, I get a message from TeXstudio saying

The logfile is very large (> 2 MB) are you sure you want to load it?

This is mostly because I am updating the bibliography, while to a large extent the .bib file is not correctly formatted (it is simply an output from Endnote actually).

My question is: Is there any way for me to avoid getting the warning from TeXstudio and permanently assign that I want to load the log file? (otherwise, I am not able to see the Errors, and the bibliography is not even made).

Edit: It seems like the error is not coming from the bibliography after all, but from a lot of messages like these:

    {leaving hbox group (level 16) entered at line 4}
    {leaving simple group (level 15) entered at line 4}
    {leaving hbox group (level 14) entered at line 4}
    {leaving math choice group (level 13) entered at line 4}
    {entering math choice group (level 13) at line 4}

Thanks in advance

Best Answer

LaTeX (and some packages) provide a large array of \tracing... macros. These macros include debugging information in the .log file that could potentially bloat the file. Remove them (either manually, or through an option within TeXStudio that has been enabled) to reduce the size of your .log and it will also increase the speed at which you compile.

Related Question