![]() |
|
Reduce the number of debug.log files ? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Reduce the number of debug.log files ? (/thread-14055.html) |
Reduce the number of debug.log files ? - ctdlg - 30-05-2025 Hello, Zenphoto generates up to 10 debug.log files. Why ? It seems robots keep trying to visit old links for a month or 2 - I know I will keep on getting many logs for a while. What do I do right now to check the real debug log file ? You could probably add this option with 1.6.7 ! Reduce the number of debug.log files ? - ctdlg - 31-05-2025 Problem is solved today : robots stopped visiting pages and albums from their old place ! But this can happen again to me or other Zenphoto users ! Reduce the number of debug.log files ? - acrylian - 31-05-2025 We enabled logs and currently don't even have them disable because a lot users seems to be on hosts that do not provide access to the server PHP error log. Also it is important to catch deprecations we added. Actually the debug log with the highest number ist the lastest and should be selected in the selector by file time. You also can switch to daily logs which then gets the date appended. Additionally you can set a very high log file size before it switches to a new file. What we have on the long list is a number limit of logs files so older ones are deleted automatically.
Probably not as we are already on 1.6.8 ;-) Reduce the number of debug.log files ? - acrylian - 31-05-2025
Btw, you might want to setup redirections which is the proper SEO way to handle such. We have a redirector plugin for this which you can provide with a list of URLs to redirect. Reduce the number of debug.log files ? - ctdlg - 31-05-2025 Thank you, I will upgrade first before using the included redirector plugin ! Reduce the number of debug.log files ? - ctdlg - 01-06-2025 Website is updated (1.6.8 now). That was easy as usual, thanks. The redirector plugin is very nice : in case of a problem, I can enable it. Bien cordialement. Reduce the number of debug.log files ? - acrylian - 01-06-2025
Search engines can be very persistent here if they have the old URLs in their catalogue or if there are many third party links to the old URLs. Might not be important for "smaller" sites but generally you first try to avoid such URLs changes for that reason of course. And if you need/want to change you redirect. After some time you might also be able to remove the redirections if all "got" them. Otherwise you run into danger on newer changes to create redirection cascades which naturally are not really performant. |