php - Class log does not exist in Laravel -


i'm managing legacy project uses laravel 5.1 , php7, running in centos.

right i'm trying run in test enviorment using ubuntu 14.04 , php5 or centos php7, there's no way can figure out why i'm getting error when trying run project.

    php fatal error:  uncaught exception 'reflectionexception' message 'class log not exist' in /var/www/html/versioned/software/track2/bootstrap/cache/compiled.php:1291\nstack trace:\n#0      /var/www/html/versioned/software/track2/bootstrap/cache/compiled.php(1291): reflectionclass->__construct('log')\n#1      /var/www/html/versioned/software/track2/bootstrap/cache/compiled.php(1242): illuminate\\container\\container->build('log', array)\n#2      /var/www/html/versioned/software/track2/bootstrap/cache/compiled.php(1780): illuminate\\container\\container->make('log', array)\n#3      /var/www/html/versioned/software/track2/bootstrap/cache/compiled.php(1334): illuminate\\foundation\\application->make('psr\\\\log\\\\loggeri...')\n#4      /var/www/html/versioned/software/track2/bootstrap/cache/compiled.php(1318): illuminate\\container\\container->resolveclass(object(reflectionparameter))\n#5 /var/www/html/versioned/software/track2/bootstrap/cache/compiled.php(1304 in  /var/www/html/versioned/software/track2/bootstrap/cache/compiled.php on line 1291, referer:      http://localhost/versioned/software/track2/ 

site working in production, , have copied exact same files

env file:

server=localhost app_key=secret key=secret web_database=db1 web_username=root web_password=pwd admin_user=d32d32d233d2 padding_top=5%  

this might happen because have wrong value in 1 of config files or spaces in .env file.

if need spaces in .env file, use env_key='some value here' instead.

more info here:

https://laracasts.com/discuss/channels/general-discussion/class-log-does-not-exist