<?php
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_LOG', '/path/to/custom/log/file.log');