Menu

#3 new phpagi.conf option: log_syslog

open
nobody
None
5
2005-08-15
2005-08-15
No

Hi,

with this patch you have a new configure option in
phpagi.conf. If you would like to log errors and other
debug informations to syslog you write
log_syslog=true
If you do not want to use syslog you would write
log_syslog=false
With my patch the default is not to log to syslog.

I wrote this because I did not want to have all the
$agi->verbose("blabla") output logged to syslog. I even
did not know that it goes there until I looked at the
class ...
If you set log_syslog=false nothing is logged to syslog.

The command used for creating the patch was:
diff -Naur phpagi-2.17.php phpagi-new.php >
log_syslog-0.1.patch

It is a patch against CVS HEAD.

I would like to see a comment about this one.

Thanx and Greetings,

Fabian Müller

Discussion

  • Fabian Müller

    Fabian Müller - 2005-08-15

    This is the patch that gives you a new configure option in phpagi.conf

     
  • Fabian Müller

    Fabian Müller - 2005-08-15

    Logged In: YES
    user_id=1261042

    there was left debugging information in version 0.1 of this
    patch. please use version 0.2 instead. thanx

     
  • Fabian Müller

    Fabian Müller - 2005-08-15

    debug information removed

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.