Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Can the Network Monitor preserve its log upon navigation?

  • 2 відповіді
  • 11 мають цю проблему
  • 1 перегляд
  • Остання відповідь від kevinoid

more options

Does the Network Monitoring component of the Firefox Developer Tools have a way to preserve its log upon navigation (which would otherwise be cleared), similar to the Chrome or Safari Developer Tools "Preserve log upon navigation" button?

I've tried checking the "Enable persistent logs" option for the Web Console in settings, but it does not appear to affect the Network Monitoring tab. I also didn't see any bugs filed for it, so I just wanted to make sure I wasn't overlooking something obvious.

Thanks, Kevin

Does the Network Monitoring component of the Firefox Developer Tools have a way to preserve its log upon navigation (which would otherwise be cleared), similar to the Chrome or Safari Developer Tools "Preserve log upon navigation" button? I've tried checking the "Enable persistent logs" option for the Web Console in settings, but it does not appear to affect the Network Monitoring tab. I also didn't see any bugs filed for it, so I just wanted to make sure I wasn't overlooking something obvious. Thanks, Kevin

Змінено kevinoid

Обране рішення

Hi kevinoid,

Thank you for contacting Mozilla Support. We are happy to help. Currently if I open the Network tool in Firefox the network traffic [HTTP Headers] are only captured on the active page by default and if I refresh the page then the traffic does not stay. What I have been doing to capture is using Live HTTP Headers, but it depends on the extension if you keep logs.

However you can turn it on within as well Mozilla Developer Network has instructions here: https://developer.mozilla.org/en-US/d.../HTTP_logging

# Quit out of Firefox if it's running.
  1. Open a new shell. The commands listed here assume a bash-compatible shell.
  2. Copy and paste the commands in Figure 3 into the shell. Make sure to hit enter after each line.
  3. Reproduce the problem you're debugging.
  4. When the problem has been reproduced, exit Firefox and look for the generated log file, which you can find at /tmp/log.txt.
  • Figure 3 is in the article

And since you are a linux user you may enjoy the developer toolbar, its pretty neat https://developer.mozilla.org/en-US/d.../GCLI

Читати цю відповідь у контексті 👍 0

Усі відповіді (2)

more options

Вибране рішення

Hi kevinoid,

Thank you for contacting Mozilla Support. We are happy to help. Currently if I open the Network tool in Firefox the network traffic [HTTP Headers] are only captured on the active page by default and if I refresh the page then the traffic does not stay. What I have been doing to capture is using Live HTTP Headers, but it depends on the extension if you keep logs.

However you can turn it on within as well Mozilla Developer Network has instructions here: https://developer.mozilla.org/en-US/d.../HTTP_logging

# Quit out of Firefox if it's running.
  1. Open a new shell. The commands listed here assume a bash-compatible shell.
  2. Copy and paste the commands in Figure 3 into the shell. Make sure to hit enter after each line.
  3. Reproduce the problem you're debugging.
  4. When the problem has been reproduced, exit Firefox and look for the generated log file, which you can find at /tmp/log.txt.
  • Figure 3 is in the article

And since you are a linux user you may enjoy the developer toolbar, its pretty neat https://developer.mozilla.org/en-US/d.../GCLI

more options

Thanks guigs2, that's exactly what I wanted to know!