(10-25-2023, 06:09 AM)captain-sensible Wrote: well depends on your dev setup but mine is apache on Arch Linux in /var/log/httpd i have :
Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /srv/http/joesoapdev/app/Views/navbar.php on line 1
I enabled that in a vhost file located /etc/httpd/conf/vhosts with entries
Code:
<VirtualHost 127.0.0.3:80>
ServerAdmin webmaster@joesoapdev
DocumentRoot "/srv/http/joesoapdev/public"
ServerName joesoapdev
ServerAlias joesoapdev
ErrorLog "/var/log/httpd/joesoapdev-error_log"
CustomLog "/var/log/httpd/joesoapdev-access_log" common
<Directory "/srv/http/joesoapdev/public">
Order allow,deny
Allow from All
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Thanks for that. That is useful and something I can do; I was just wondering if CI had a native way to update their log files with the page that is being accessed.