How to Move the Joomla Log Folder
Moving Joomla's log folder can improve organization or keep logs outside the public web root. The safe approach is to prepare the destination first, change only Joomla's configured path, and verify writes before removing old files.
Choose a safe destination
Create or select an account-specific directory for Joomla logs. Prefer a location that is not directly web-accessible, and make sure PHP can write to it. Use an absolute filesystem path, not a URL.
Create the destination first
Create the directory before changing Joomla. Apply the ownership, group, ACL, and permissions expected by your hosting platform. Avoid 777 or other world-writable permissions simply to bypass an ownership problem.
Change Joomla's log path
In Administrator, open System → Global Configuration, update the log-folder path to the new absolute path, and save. Joomla stores this value in configuration.php.
Verify writes before removing anything
Generate a controlled log event and confirm that Joomla creates or appends to a log file in the new location. If it does not, check the exact path, PHP write access, parent-directory traversal, disk quota, and server restrictions.
Handle existing logs deliberately
Changing the configured path does not move every old log automatically. Preserve logs needed for troubleshooting or retention, then archive or securely remove obsolete files. Some extensions may use their own custom log path, so check extension settings before assuming every log moved.
Document the new path
Record the new location for future administrators. Recheck it after server migrations, restores, hosting-account changes, or document-root changes so Joomla does not silently retain a stale absolute path.
Need More Help with Joomla?
Still having trouble? Open a support ticket with QuantaCade Support and we'll be happy to help where we can.
Support priority is given to QuantaCade products, services, and customers. However, we're also happy to assist fellow Joomla users with general Joomla questions and troubleshooting when possible.
QuantaCade is an independent Joomla extension developer and is not official Joomla support. Some issues involving third-party extensions, hosting environments, server configurations, or other systems outside our development control may be beyond what we're able to resolve.