Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Trim the logs for better debugging
Gedit logs for quick browsing
Trim the logs for better debugging
Gedit logs for quick browsing
Comments
Comment #1
the_g_bomb CreditAttribution: the_g_bomb commentedI had wondered about the inclusion of logrotate, to keep the current log files a bit smaller
Comment #2
MichaelCole CreditAttribution: MichaelCole commentedapache-access.log -> /var/log/apache2/other_vhosts_access.log
apache-error.log -> /var/log/apache2/error.log
mysql-error.log -> /var/log/mysql/error.log
php-error.log -> /var/log/php-error.log
foreach($logs as $log) {
echo "" | sudo tee $log;
}
gedit explode($logs. ' ');
Comment #3
MichaelCole CreditAttribution: MichaelCole commentedComment #4
mike stewart CreditAttribution: mike stewart commentedHey Michael -- not sure what to do with this? It this a script for cron or ??? Let's chat when you get a chance to see how we can incorporate.
Comment #5
MichaelCole CreditAttribution: MichaelCole commented