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

  • SEARCH
  • Home
  • 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 8484893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:29:40+00:00 2026-06-10T20:29:40+00:00

here is my problem: I would like to use and existing Zend_Log instance (instance

  • 0

here is my problem: I would like to use and existing Zend_Log instance (instance which already exists in my application) but I would like to write my logs to a different file (same path to log file like in the existing writer but with different name). Do you guys have any idea how can I do this ? so far I only found a solution which is based on a Zend_Log instance + few writers + filter -> each log entry is written to a different file name. Existing Zend_Log instance has a one single writer (instance of Zend_Log_Writer_Stream class). Im under impression that such thing is really trivial but Im not able to find it. My current solution is to create a new instance of Zend_Log and add a new writer. Any suggestions are welcome 🙂
I hope this is not a silly question 😀 Im not a ZF master.

  • 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-10T20:29:41+00:00Added an answer on June 10, 2026 at 8:29 pm

    In the current implementation you cannot detach a writer from a Zend_Log.

    Your options are:

    • add new writer to Zend_Log and submit yourself to the fact that there will be two logs.
    • create new Zend_Log with only one writer attached.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to try minitest with an existing Rails 2.3.14 application. I already
A bit of a complex problem to describe here: I would like to have
I suppose similar problem would have been discussed here, but I couldn't find it.
Here's my problem: I have do create a menu/list of actions (which would be
Problem I would like to use the parameters given to a script as is
I would like to use two different implementations for a DAO with Spring's testframework.
I've already looked at this , which was helpful to a point. Here's the
I would like to evaluate JPA on an existing project. The database model and
The Problem I have a CakePHP application in which I call a stored procedure:
I have a Silverlight 4 Beta application where I'd like to use the SharePoint

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.