tomwerf . nl – Alles over computers

  • Linux
  • Internet
  • Programma’s
  • VMware

Logfiles doorbladeren

 CentOs, Debian, Linux, Ubuntu  No Responses »
aug 162013
 

php-codeLogfiles zijn erg lastig door te bladeren, vooral als ze lang zijn.
Dit kan makkelijk opgelost worden door het commando less.
Hiermee kan een logfile worden geopend en doorheen gescrolt worden.
Handig is de toetscobminatie ctrl-F. Hiermee wordt er naar het einde van de logfile gegaan

 Posted by admin at 10:32  Tagged with: browsen, debugging, less, logfile, scrollen

Enable PHP error logging

 CentOs, Debian, Internet, Linux, Programs, Ubuntu  No Responses »
sep 242012
 

In php.ini:

display_errors = Off log_errors = On error_log = /var/log/php-errors.log 

Make the log file, and writable by www-data:

sudo touch /var/log/php-errors.log sudo chown www-data:www-data /var/log/php-errors.log
 Posted by admin at 13:39  Tagged with: apache, log, logfile, php

Meest recente berichten

  • Conifgureer statisch ip adres op Ubuntu 18.04 LTS server
  • Sonoff flashen
  • Verander Sonoff relais naar een standaard schakelaar
  • Invalid Mutex directory in argument file
  • Windows 10 default gateway checkbox

Categorieën

  • Arduino (1)
  • Domotica (2)
  • Internet (45)
    • ADSL (2)
    • cms (1)
    • rechten (10)
    • Security (17)
    • websites (27)
  • Linux (79)
    • CentOs (29)
    • Debian (33)
    • Programs (45)
      • Apache (1)
      • Excel (1)
      • Memcached (2)
      • MP3 (2)
      • Munin (2)
      • MySQL (12)
      • OTRS (2)
      • varnish (4)
      • Wordpress (2)
    • Ubuntu (42)
    • VMware (6)
  • Synology (1)
  • Tutorials (4)
  • Uncategorized (6)
  • Windows (19)
    • Remote desktop (3)

Tags

apache authentication availability bestand cache cluster commando configuration database debian dpkg fast-cgi file ftp installeren ip linux log logfile logging monitoring munin mysql netwerk network packet password performance php plugin rdp reset scp server ssh standaard toevoegen ubuntu uitpakken unix update Varnish vmware website wordpress
© 2015 tomwerf . nl - Alles over computers Suffusion theme by Sayontan Sinha