Yes! but in some cases it is necessary to give acces to external users without access to EspoCRM!
This script is useful for this.
Web EspoCRM-LogViewer
Collapse
X
-
Web EspoCRM-LogViewer
In some cases I need to share log files in real time or see log without root access, so I had adapted this code to get log of current day:
See quickly EspoCRM logs. Contribute to porquero/EspoCRM-LogViewer development by creating an account on GitHub.
Configuration
Change path in set.php file
Code:<?php $today = date('Y-m-d'); $data = "file_path='[ESPOCRM_PATH]/data/logs/espo-{$today}.log'\n" . "vscode_path_search='/srv/www/spaces/current/'\n" . "vscode_path_replace='C:\doll\spaces\'\n"; file_put_contents('php-error-log-viewer.ini', $data);
DEV
12345
Make sure that php-error-log-viewer.ini is writeable
credits: https://github.com/schuhwerk/php-error-log-viewer
Tags: None
Leave a comment: