Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8688975
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:31:06+00:00 2026-06-12T23:31:06+00:00

My Zend_Log writers are sending data to third-party resources, like Amazon DynamoDB, for example.

  • 0

My Zend_Log writers are sending data to third-party resources, like Amazon DynamoDB, for example. Such operations take time and I want to do them in background. I tried to use pcntl_fork(), but it doesn’t work correctly with Apache. Do you have any other ideas of how this parallel execution of logging operations can be done in PHP and in Zend Framework? Maybe some examples?

edit: I understand that an obvious solution would be to save log messages into some files/queue and push them through later, but this is not what I’m looking for in this question.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T23:31:07+00:00Added an answer on June 12, 2026 at 11:31 pm

    The right solution to this problem is to rely on syslog and Zend_Log_Writer_Syslog. Syslog decouples log clients from actual log writers (to any third-party resources). Writer to Amazon has to be configured as part of syslog server-side configuration.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What's the optimal way of storing objects like Zend_Log or Zend_Db across the application?
I would like to make a global Zend_Log object that I can reach from
here is my problem: I would like to use and existing Zend_Log instance (instance
I have the following code: $writer = new Zend_Log_Writer_Stream($path./../../../../data/logs/Log.log); $logger = new Zend_Log($writer); $logger->info(print_r($xm1,true));
I set my loggers up in my Bootstrap.php like so: $logger = new Zend_Log();
Zend Route issue. Normally it works fine. http://www.example.com/course-details/1/Physics-Newtons-Law But if I type in an
We're using the Zend_Log class to update a few different watchdog database tables (that
Currently I am using a basic error controller which looks like this: class ErrorController
I have a weird problem: I extended Zend_Log with a class called \Application\Log (it
My Zend controller is like below: public function deleteAction() { $this->_helper->layout->disableLayout(); $id = (int)$this->_request->getPost('id');

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.