We do NOT hardcode the location of the Joomla! log directory in any of our software. In fact we ask Joomla to tell us where the logs folder is stored through its API:
JFactory::getConfig()->get('log_path', JPATH_ROOT . '/logs')
There are exactly
three cases where a "logs" directory would be placed on the site's root:
- You are hosted on a server running Plesk or any other server control panel software which places a "logs" folder in the public web root. They do that to store access and error logs.
- You have left the Log Directory setting in your site's Global Configuration empty. In this case the default value of <siteroot>/logs will be used by Joomla and other extensions, including Admin Tools.
- You run the "Temp and log directory check" feature of Admin Tools and your configured Log Directory is not writeable. In this case we first try to make <siteroot>/administrator/logs writeable. If that fails we try to make <siteroot>/logs writeable. If any of these steps succeeds we update your Global Configuration.
So please do check your Global Configuration.
If the Global Configuration is not telling Joomla to use <siteroot>/logs and is not empty the problem is irrelevant to Admin Tools and Joomla – in which case I can't help you.
If it's empty or invalid, please update it.
If it is the logs directory in your site's root please remember that you manually used that feature in Admin Tools. Update the setting and make sure PHP can write to your site's administrator/logs directory.
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!