Re: [nyphp-talk] Logging best practices, 2 of 2

2014-05-08 Thread Gary Mort
On 05/06/2014 09:39 AM, Federico Ulfo wrote: We're considering to use syslog as common logging for all languages, mostly PHP, Java and Python (Scala, Perl, Ruby ...), so we can finally log with a standard format, e.g.: TIME - HOSTNAME PID [LOG LEVEL] MESSAGE I prefer syslog to all other lo

Re: [nyphp-talk] Logging best practices, 1 of 2

2014-05-08 Thread Gary Mort
On 05/06/2014 09:39 AM, Federico Ulfo wrote: Hi PHPers, ... For PHP we'll probably use Monolog, someone suggested to use it wrapped into helper functions such as sail_info(), sail_debug(), sail_error(), sail_warn(), I'm personally skeptical for this solution because not too maintainable, bu