# convertkit/1.9.7.2/views/backend/settings/tools.php

Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages, version 1.9.7.2. 75 lines.

- Page: https://pluginprobe.com/plugins/convertkit/1.9.7.2/code/views/backend/settings/tools.php
- Raw: https://pluginprobe.com/plugins/convertkit/1.9.7.2/raw/views/backend/settings/tools.php
- Modified: 2021-12-15T14:20:30+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/convertkit/1.9.7.2/code/views/backend/settings/tools.php#L10-L20`.

```php
<?php
/**
 * Settings > Tools view
 *
 * @package ConvertKit
 * @author ConvertKit
 */

?>

<div class="metabox-holder">

	<div class="postbox">
		<h3><span><?php esc_html_e( 'Debug Log', 'convertkit' ); ?></span></h3>
		<div class="inside">
			<p class="description">
				<?php esc_html_e( 'Use this tool to help debug ConvertKit plugin functionality.', 'convertkit' ); ?><br />
				<?php esc_html_e( 'For performance, the last 500 lines of the log are displayed. Use the Download Log option to review the full log.', 'convertkit' ); ?><br />
			</p>

			<textarea readonly="readonly" id="debug-log-textarea" class="large-text convertkit-monospace" rows="15"><?php echo esc_textarea( $log->read() ); ?></textarea>

			<?php
			if ( $log->exists() ) {
				?>
				<p class="submit">
					<?php
					submit_button(
						__( 'Download Log', 'convertkit' ),
						'primary',
						'convertkit-download-debug-log',
						false
					);

					submit_button(
						__( 'Clear Log', 'convertkit' ),
						'secondary',
						'convertkit-clear-debug-log',
						false
					);
					?>
				</p>
				<p><?php esc_html_e( 'Log file', 'convertkit' ); ?>: <code><?php echo esc_attr( $log->get_filename() ); ?></code></p>
				<?php
			}
			?>
		</div><!-- .inside -->
	</div><!-- .postbox -->

	<div class="postbox">
		<h3><span><?php esc_html_e( 'System Info', 'convertkit' ); ?></span></h3>
		<div class="inside">
			<p><?php esc_html_e( 'Use this tool to send system info to support when necessary.', 'convertkit' ); ?></p>

			<textarea readonly="readonly" id="system-info-textarea" class="large-text convertkit-monospace" rows="15"><?php echo esc_textarea( $system_info->get() ); ?></textarea>

			<p class="submit">
				<?php
				submit_button(
					__( 'Download System Info', 'convertkit' ),
					'primary',
					'convertkit-download-system-info',
					false
				);
				?>
			</p>
		</div><!-- .inside -->

		<?php
		// Nonce for Log and System Info actions.
		wp_nonce_field( 'convertkit-settings-tools', '_convertkit_settings_tools_nonce' );
		?>
	</div><!-- .postbox -->
</div><!-- .metabox-holder -->

```
