Syslog with Phalcon on CentOS -


Anyone from there working with Falun on CentOS?

I am trying to use Syslog from but do not know where I can see the output AFAIK, send syslog messages to CentOS '/ var / log / messages', but I' / var / Have seen almost all the files in the log and found nothing.

Currently I like Syslog:

  $ logger = new SyslogAdapter (null);   

Is there any setting available on the Falcon or my OS?

is looking and it seems that the Falcon proxies all calls by default

I want to work in pure php without phalks and it works. It feels like this is the keystone of the problem.

Update

To see just your code, the actual class is called a syslog, not SyslogAdapter, unless you have Falcon Logger Do not use the adapter \ Syslog as SyslogAdapter , which I can not tell from the above code :) If syslog works by php, then the problem is probably with your code. Tried, it works as expected:

  $ logger = new syslog (empty); $ Logger- & gt; Logs ('test', 'hello world'); // 27/04/2014 1 9: 15: 24.922 PHP [24030]: Hello World    

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -