Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not logging when using Zend Redirect #39

Open
daslicht opened this issue Nov 27, 2013 · 1 comment
Open

Not logging when using Zend Redirect #39

daslicht opened this issue Nov 27, 2013 · 1 comment

Comments

@daslicht
Copy link

Hello,
if you call an Controller Action which consists of a redirect,
ChomePhp will not output the messages to the console.

eg

    public function testAction()
    {
            \ChromePhp::log("Request: ");
            return $this->redirect()->toRoute('index');
     }

will output nothing.

Is there any fix or workaround for this?

@hakre
Copy link

hakre commented Sep 14, 2014

This is easy to handle, just disable automatic redirect following within your browser (it might be that Google Chrome does not offer such a fundamental important option. I suggest you not easily but with true strong will research that, I found it hard to quickly gather information about this). Otherwise there is a new logging session before you notice the current one.

Additionally - in case this still applies - you might want to make a feature request for the browser extension to keep log entries on redirect. I suspect this is more of an issue with the browser extension than the server-class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants