If you need to enable or disable the TMail log file located at /storage/logs/tmail.csv, follow these steps:
Open the
.envFile: Navigate to the root directory of your project and open the.envfile for editing.Locate the
ENABLE_TMAIL_LOGSSetting:If the line
ENABLE_TMAIL_LOGS=falseis present, you can modify it to enable or disable logging.Change the value to
trueto enable logging:ENABLE_TMAIL_LOGS=trueCopy code
ENABLE_TMAIL_LOGS=trueChange the value to
falseto disable logging:ENABLE_TMAIL_LOGS=falseCopy code
ENABLE_TMAIL_LOGS=false
Add the Setting if Missing:
If you do not find the
ENABLE_TMAIL_LOGSline in your.envfile, simply add it at the end of the file. For example, to disable logging, add:ENABLE_TMAIL_LOGS=falseCopy code
ENABLE_TMAIL_LOGS=false
Save the File: After making the necessary changes, save the
.envfile.
These steps will enable or disable the TMail log file according to your preference.