In always_load in main config file I do not extra load Log package... but it is working in my app anyway, but not in tasks if I call them via oil refine.
Something most load it, because in 1.5 the core doesn't have a Log class anymore. So if the package isn't loaded booting the framework should already give you a "class not found".
Or did you upgrade from a previous version by simply copying files across, so you've got a stray 1.4 Log class in your fuel/core/classes folder?
now I am also wondering where the Log package is loaded from :)? This is my admin app. Checked my front-end website app, I have log loaded in config. They use the same 1.5 core
That explains why your frontend works, and your backend doesn't. They run of different configs, you need to include 'log' in the packages array there too...
Now I have added log in always_load of my admin app and run the task via oil refine, but now I get:
Fatal error: Uncaught exception 'UnexpectedValueException' with message 'The stream or file "/Applications/XAMPP/xamppfiles/htdocs/dewesoftadmin/fuel/app/logs/2013/09/18.php" could not be opened: failed to open stream: Permission denied' in /Applications/XAMPP/xamppfiles/htdocs/dewesoftadmin/fuel/packages/log/src/Monolog/Handler/StreamHandler.php:71
I have write permissions on log folder? And Log works from app ...
If you want to know, add a Debug::backtrace() to the Log package's bootstrap file, so you can see where it's loaded from, and what initiated the load. Perhaps that will clear things up.