There is a number of logs files which are generated into the “DxO PhotoLab 2 logs” directory in my home directory (Documents).
I have not found any parameter in the preferences of PhotoLab 2 to change the logs directory location. Is there a way to change that ? If not, is it possible to completely disable the generation of log files ?
The concern expressed by the OP is not about the .dop/sidecar files but about the log files generated by PhotoLab. These log files are created in the user’s document directory for a Windows installation.
So, is it possible to change that?
Indeed, I misread the OP question. To my best knowledge: no, you can not change the location or disable the log files.
HOWEVER: why would someone want to change the location? I would also question the logic behind disabling the logs. They are very small text files, one can read and analyze them in case of some issues. Occasionally DxO support may also like to see them to help debugging (there is also a folder with DxO crashes reports).
As a size example: on my system one year of log files and crash logs consume approximately as much space as one out of the camera JPEG (obviously this depends on how much processing one does, what JPEG files, etc., etc. - this is only to illustrate).
Log files are only useful for developers, not for end-users.
On an other point of view, the “Documents” folder is here to store real user documents, not every utility file. If every installed application application would store here its utility files, we maybe could end with a Documents folder with more than “foreign” files than files created by the user.
Note than on Linux, such files are created under the user’s profile, but in hidden folders. However, on Windows, %APPDATA% or %LOCALAPPDATA% could be a better location. A lot of application also store their own files directly under %USERPROFILE%, without polluting the Documents folder.
In my case, the space used by the logs is not really a problem. However, since my Documents folder is backuped and synchronized on different servers, logs files have nothing to do here.
I use Photolab4, and still the logfiles er placed in my Documents folder. I don’ want them there. I would like to delete that folder automatically on logon. Would that affect any functionality in Photolab 4?
Thank you for pointing me to that real interesting discussion- I actually didn’t know that Photolabs has a database functionality.
But unfortunately it doesn’t solve my problem. The database is stored in a folder under %AppData%, and this location can be changed. The log files are stored in %My Documents%, without possibilty to change the location.
Is it possible to delete all log-files without compromising Photolabs functionality?
I found a way to move the Log folder to another place on PhotoLab4 on Windows :
Edit %ProgramFiles%\DxO\DxO PhotoLab 4\LogConfig.nlog (you may need to copy in a temporary folder, and then copy the the file into the DXO Installation, files under ProgramFiles are protected and requires an Administrator rights prompt to by updated).
Just edit the line 3 by changing MyDocuments to LocalApplicationData :