softmaji-header-wbg-min
softmaji-header-wbg-min
softmaji-blue-header-min
softmaji-blue-header-min
  • Home
  • Services
    • Website Designing
      • Responsive Website Design
      • Static Website Design
      • Website Redesign
      • Landing Page Design
    • Website Development
      • PHP Website Development
      • WordPress Website Development
      • Ecommerce Website Development
      • Custom Website Development
    • Digital Marketing
      • Google Adwords/PPC
      • Facebook Promotion
    • SEO Service
  • Trainings
    • Learn Web Development
    • Learn Graphics Design
    • Learn Business Communication Skills
  • Pricing
  • Portfolio
  • Events
  • Offers
  • Contact Us

Ways to View Access and WordPress Error Logs

HomeWays to View Access and WordPress Error Logs

Offer Expire Soon..


Only New User..


Logs can help you when you troubleshoot and debug issues on your WordPress sites. Checking your access and WordPress error logs is very simple. Just follow this tutorial.

Table of Contents

Toggle
  • Ways to View Access and WordPress Error Logs
    • View Raw Access and WordPress Error Logs Using FTP
    • Enable Error Logs in wp-config.php File

Ways to View Access and WordPress Error Logs

There are few different ways to view your access and WordPress error logs as below:

View Raw Access and WordPress Error Logs Using FTP

You can view your logs by simply downloading the raw log files. First, connect to your site using SFTP. Then in the root, search for the folder called “logs”.

In this folder, you will see your access logs and WordPress error logs.

  • access.log
  • error.log

For older logs archives, Gzip (.gz) backups are automatically created. In order to see additional debugging information in WordPress, you can see the codex.

Enable Error Logs in wp-config.php File

WordPress error logs can also be seen by enabling your wp-config.php file. First, connect to your site using SFTP.

Then download your wp-config.php for editing it.

Note: Ensure that you have a backup of this file.

Search for the line that says /* That’s all, stop editing! Happy blogging. */ and just prior to it, add the below code:

define( 'WP_DEBUG', true );

In case the above code is already present in your wp-config.php file but is set to “false,” just change it to “true.” With this, the debug mode will get enabled.

Note: If warnings or error are present in your WordPress admin, you will see them.

Then enable the debug log so that all errors are sent to a file by adding the below code immediately after the WP_DEBUG line:

define( 'WP_DEBUG_LOG', true );

Save the changes and re-upload this to your server. Due to this, the errors will get logged to the debug.log file within your /wp-content/ folder. In case you don’t see this file for some reason, you can always create one.

In this way, you have learned to view access and WordPress error logs.

Faizan Khan
15
Latest News
Prev PostFixing the “MySQL Server Has Gone Away” Error in WordPressMay 14, 2024
Next PostLearn to Delete Trash in WordPress Automatically.May 14, 2024

Related items

2
Latest News

iOS 18.5 vs. iOS 19: Full Comparison of Every Feature

Apple is always updating the software that runs on our iPhones. In 2025, we have two impor

SoftMaji InfoTech
10/07/2025
22
iPhone 17 Air
Latest News

iPhone 17 Air Leak: Full Details on the Super-Thin Design, Features, and Price

Get ready, Apple fans! The internet is buzzing with exciting news about a brand-new iPhone

SoftMaji InfoTech
10/07/2025
18
otpless-issue
Latest News

OTPLess Not Working? Here’s What Happened!

Imagine this: You run a business, and suddenly, your customers can’t log in to your websit

SoftMaji InfoTech
20/06/2025
41
softmaji-header-wbg-min
SoftMaji is one of the affordable web development company in the web development industry. You don’t have to go searching anywhere for finding a reliable web development partner because we have crafted web development solutions that can fill the void left by others in the market.
Services
  • News Portal Development
  • Custom Website Development
  • PHP Website Development
  • Ecommerce Website Development
  • WordPress Website Development
Shortlinks
  • Blog
  • Offers
  • Events
  • Pricing
  • Reviews
  • Portfolio
  • Our Team
  • Payment Options
  • Explore Packages
Company
  • FAQ
  • Careers
  • Sitemap
  • Feedback
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms & Conditions
  • Refund And Cancellation
Contact Us
4/40 Vipul Khand , Gomti Nagar Lucknow
Uttar Pradesh 226010
Landline - +915223162418
Email - hello@softmaji.in
Office Time Mon - Sat
(10:00AM - 5:00PM)
Sunday Close
+91 9795405324
Lucknow , Uttar Pradesh
Copyright © 2016-2025. All Rights Reserved.