If you can't find a solution to your problem, please contact us via the chat icon you'll find at the bottom right hand side of your browser window. 

Please include the following information in your issue

  • Your platform (e.g. OSX x64, Debian wheezy x86, Ubuntu Precise x64, etc...)
  • The output of php -v  command.
  • The output of php -d display_startup_errors=on --ri blackfire  command.
  • The output of blackfire-agent -v  command.
  • The content of the Probe log file.
  • The content of the Agent log file.

You can drag and drop files to the chat window.

Getting logs from Blackfire

Probe logs

  1. Increase the Probe log level to debug by configuring it with blackfire.log_level=4   and blackfire.log_file=/tmp/blackfire.log  (refer to the Probe configuration for more information). 
  2. ⚠️  Do not forget to restart the webserver or PHP-FPM to reload the configuration.
  3. Profile your code again

Agent logs

Note: this does not apply to Magento Cloud and Platform.sh users, who can only get the probe logs.

  1. Increase the Agent log level to debug by configuring it with log-level=4  (refer to the Agent configuration for more information). 
  2. ⚠️  Do not forget to restart the Agent to reload its configuration.
  3. Profile your code again
  4. Get the logs:
  • On Linux: default log files are in  /var/log/blackfire/agent.log 
  • On OSX: default log files are in /usr/local/var/log/blackfire/agent.log  
  • On Windows: simply copy/paste the console output. 
Did this answer your question?