-
Notifications
You must be signed in to change notification settings - Fork 36
Debug and Logging
pavel edited this page Mar 17, 2018
·
1 revision
If you have any problem using RichFilemanager you may want to see what's happening.
All logs are stored at your local filesystem, so you have to configure your Local filesystem storage
To enable logger set logger
.enabled
option to true, also you can specify full path to logfile with logger
.file
option:
$config = [
'logger' => [
'enabled' => true,
'file' => '/var/log/filemanager.log',
],
];
$local = new \RFM\Repository\Local\Storage($config);
Notice that, by default, logs are disabled and logfile location is defined by sys_get_temp_dir()
PHP function:
- Linux: /tmp/filemanager.log
- Windows 7: C:\Users\%username%\AppData\Local\Temp\filemanager.log