
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.thelinuxwiki.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=viewing_drupal_logs_from_CLI</id>
		<title>viewing drupal logs from CLI - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=viewing_drupal_logs_from_CLI"/>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=viewing_drupal_logs_from_CLI&amp;action=history"/>
		<updated>2026-05-13T21:32:21Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21.5</generator>

	<entry>
		<id>http://www.thelinuxwiki.com/index.php?title=viewing_drupal_logs_from_CLI&amp;diff=1235&amp;oldid=prev</id>
		<title>Nighthawk: Created page with &quot;==problem== viewing drupal logs without using the web interface or drush  drupal logs are kept in the backend database,so we can pull them from there.  ==solution==  (optional...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=viewing_drupal_logs_from_CLI&amp;diff=1235&amp;oldid=prev"/>
				<updated>2019-04-09T12:03:01Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==problem== viewing drupal logs without using the web interface or drush  drupal logs are kept in the backend database,so we can pull them from there.  ==solution==  (optional...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==problem== viewing drupal logs without using the web interface or drush&lt;br /&gt;
&lt;br /&gt;
drupal logs are kept in the backend database,so we can pull them from there.&lt;br /&gt;
&lt;br /&gt;
==solution==&lt;br /&gt;
&lt;br /&gt;
(optional) create a database user just for viewing &lt;br /&gt;
&lt;br /&gt;
example from mysql shell &lt;br /&gt;
&lt;br /&gt;
 mysql&amp;gt; GRANT SELECT ON 'my_database_name'.* TO 'my_username'@'localhost' IDENTIFIED BY 'mypassword';&lt;br /&gt;
&lt;br /&gt;
view watchlog logs&lt;br /&gt;
 mysql -h localhost -u my_username my_database_name -e &amp;quot;select hostname from watchdog &amp;quot; --password=my_password&lt;/div&gt;</summary>
		<author><name>Nighthawk</name></author>	</entry>

	</feed>