EE and logs for virtual hosts + slow log file missing

Hi,

I’ve been looking how EE deals with logs and I have 2 questions.

  1. When I use the command : ee log show --fpm , It gives me this message : [Errno 2] No such file or directory: ‘/var/log/php5/slow.log’

Is there something I forgot to install or something ?

  1. I noticed that EE seperates logs for every virtual host. The example.com.access.log shows all entries fine, however : example.com.error.log doesn’t show any entries when I try to trigger it.

Instead the nginx errors are shown in error.log (default). Shouldn’t those errors be (also) present in example.com.error.log ??

Thansks Lex

I don’t have any “slow” file on my server too. Is there anyway we can setup ee to create the slow files like: /var/log/mysql/mysql-slow.log

Thanks!