FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=18380&edit=1

ID: 18380
Updated by: kvz@php.net
Reported By: zombiitv at gmail dot com
Summary: Options error
-Status: Open
+Status: Feedback
Type: Bug
Package: System_Daemon
Operating System: Centos 5.5
Package Version: 1.0.0RC1
PHP Version: 5.3.5
Roadmap Versions:
New Comment:

-Status: Open
+Status: Feedback
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PEAR.


Hi Dan,

I tried the logparser.php example with:
- no logVerbosity option
- numeric logVerbosity option
- constant logVerbosity

But was unable to reproduce any error?


Previous Comments:
------------------------------------------------------------------------

[2011-03-21 05:33:10] zombiitv

Description:
------------
'logVerbosity' requires a type in the Daemon class however, I was not
able to get the daemon to start when I used a number, I ended up using
this:

'logVerbosity' => System_daemon::LOG_DEBUG

------------------------------------------------------------------------

Search Discussions

  • Zombiitv at Mar 24, 2011 at 6:21 am
    Edit report at http://pear.php.net/bugs/bug.php?id=18380&edit=1

    ID: 18380
    Updated by: zombiitv@gmail.com
    Reported By: zombiitv at gmail dot com
    Summary: Options error
    Status: Feedback
    Type: Bug
    Package: System_Daemon
    Operating System: Centos 5.5
    Package Version: 1.0.0RC1
    PHP Version: 5.3.5
    Roadmap Versions:
    New Comment:

    I'm running Centos 5.5, PHP 5.3.5. When I use 0, or '0', I do not get an
    error, but I also do not get anything written in the log. The only way I
    can get debug items to log is to use System_Daemon::LOG_DEBUG as the
    value.

    Here are my options
    $daemonOptions = array(
    'appName' => 'app_name',
    'appDir' => dirname(__FILE__),
    'appDescription' => 'Auto Posting',
    'authorName' => 'Dan G',
    'authorEmail' => 'dan@',
    'sysMaxExecutionTime' => '0',
    'sysMaxInputTime' => '0',
    'sysMemoryLimit' => '1024M',
    'appRunAsGID' => 100,
    'appRunAsUID' => 100,
    'appDir' => '/home/......',
    'appExecutable' => 'app_name.php',
    'logVerbosity' => System_Daemon::LOG_DEBUG,
    'logFilePosition' => true,
    'logTrimAppDir' => false,

    );


    Previous Comments:
    ------------------------------------------------------------------------

    [2011-03-21 09:44:32] kvz

    -Status: Open
    +Status: Feedback
    Not enough information was provided for us to be able
    to handle this bug. Please re-read the instructions at
    http://bugs.php.net/how-to-report.php

    If you can provide more information, feel free to add it
    to this bug and change the status back to "Open".

    Thank you for your interest in PEAR.


    Hi Dan,

    I tried the logparser.php example with:
    - no logVerbosity option
    - numeric logVerbosity option
    - constant logVerbosity

    But was unable to reproduce any error?

    ------------------------------------------------------------------------

    [2011-03-21 05:33:10] zombiitv

    Description:
    ------------
    'logVerbosity' requires a type in the Daemon class however, I was not
    able to get the daemon to start when I used a number, I ended up using
    this:

    'logVerbosity' => System_daemon::LOG_DEBUG

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedMar 21, '11 at 8:42a
activeMar 24, '11 at 6:21a
posts2
users2
websitepear.php.net

2 users in discussion

Zombiitv: 1 post Kvz: 1 post

People

Translate

site design / logo © 2022 Grokbase