Title: debug.log file missing
Last modified: February 23, 2017

---

# debug.log file missing

 *  [cbondi](https://wordpress.org/support/users/cbondi/)
 * (@cbondi)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/debug-log-file-missing/)
 * Hi
    We are trying to debug a WordPress 4.7.2 installation on hostgator. I want
   to create a debugging log file. We set the following in wpconfig file:
 *     ```
       // Enable WP_DEBUG mode
       define( 'WP_DEBUG', true );
   
       // Enable Debug logging to the /wp-content/debug.log file
       define( 'WP_DEBUG_LOG', true );
   
       // Disable display of errors and warnings
       define( 'WP_DEBUG_DISPLAY', false );
       ```
   
 * However when I go to the wp-content folder there is no log file. Permissions 
   on the folder appear normal (755).
 * Any help would be appreciated.
    thanks

Viewing 1 replies (of 1 total)

 *  [Curdin Krummenacher](https://wordpress.org/support/users/curdin/)
 * (@curdin)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/debug-log-file-missing/#post-8838744)
 * Hi,
 * Can you install plugins correctly / or upload media?
    If not you might need to
   check ownership of the wp-content directory.
 * If the site is not live you can also set
    `define( 'WP_DEBUG_DISPLAY', true );`
   to display errors in page. Might help in determining why it wont write to wp-
   content 🙂
 * c

Viewing 1 replies (of 1 total)

The topic ‘debug.log file missing’ is closed to new replies.

## Tags

 * [missing](https://wordpress.org/support/topic-tag/missing/)
 * [wp_debug](https://wordpress.org/support/topic-tag/wp_debug/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Curdin Krummenacher](https://wordpress.org/support/users/curdin/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/debug-log-file-missing/#post-8838744)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
