title: MariaDB error log
body: <p>I have <code>mariadb 10.0.23</code> on <code>debian jessie</code>. I want to check mysql's error log and so I added this line to <code>my.cnf</code>:</p>
  
  <blockquote>
    <p>log-error = /var/log/mysql/error.log</p>
  </blockquote>
  
  <p>and then I restarted the service mysql:</p>
  
  <blockquote>
    <p>service mysql restart</p>
  </blockquote>
  
  <p>After that, I checked the path <code>/var/log/mysql/</code> but there wasn't any error.log over there.</p>
  
  <p>In addition I checked the system variable <code>log_error</code>:</p>
  
  <blockquote>
    <p>mysql> show variables like '%error%';</p>
  </blockquote>
  
  <p>and I saw that the value of the variable <code>log_error</code> is <strong>blank</strong> :(</p>
  
  <p>Can anybody help me to solve this problem?</p>