Включить лог mozilla thunderbird
В этой статье описаны параметры, доступные на панели Дополнительные в окне Настройки Настройки в Thunderbird. Это такие редко используемые параметры, как настройки прокси-сервера или различные расширенные настройки, которые используют лишь некоторые пользователи.
Mail2web POP и IMAP Обзор службы электронной почты
Платформа Mail2web предлагает бесплатный доступ к учетной записи электронной почты с поддержкой протокола POP или IMAP через веб-браузер.
Диалоговое окно Автономная работа
Enhancement Ideas
- bug 492620 - better, easier logging/diagnostics for Thunderbird [meta]
- bug 193873 - Add Mozilla logging to UI / Thunderbird:Logging_UI
- bug 697522 - precise logging of message filter runs and actions
№1 11-04-2006 10:26:50
Missing Log File
If your log file is empty or missing, review this document again, and check for these common problems:
- Do you have write access to the directory specified in MOZ_LOG_FILE?
- Did you shut down the mailnews application? (the log file is buffered in memory)
- Did you restart your mailnews application, and wipe out the log of the session you wanted to debug? (every restart wipes out the previous log)
- If you used a batch file on Windows, is the batch file set to run with administrator privileges?
- Do your log variables contain quotation marks or other invalid characters?
- Are your log module names correctly CASE SENSITIVE? (i.e. camel case which is not all upper case, nor all lower case)
Включение ведения транзакций в Mac OS X
Откройте окно терминала.
экспорт NSPR_LOG_MODULES =
после чего сразу:
POP3: 4
для регистрации POP
IMAP: 4
для ведения журнала IMAP
SMTP: 4
для ведения журнала SMTP
Нажмите Войти.
Вы можете включить ведение журнала для нескольких протоколов, разделив их запятыми. Например:
Чтобы зарегистрировать как POP, так и SMTP-трафик, введите
экспорт NSPR_LOG_MODULES = POP3: 4, SMTP: 4
Чтобы зарегистрировать только IMAP-трафик, введите
Нажмите Войти.
Нажмите Войти снова.
Выполните необходимые действия электронной почты в Mozilla Thunderbird.
Закройте Mozilla Thunderbird и найдите tbird.log на рабочем столе.
№3 11-04-2006 21:43:50
Do not meddle in the affairs of Wizards, for they are subtle and quick to anger.
Телеметрия
- Включить телеметрию: При включении этого параметра будут отправляться (анонимные данные) в Mozilla о реальной производительности Thunderbird. Эта информация будет использоваться для улучшения качества Thunderbird.
Включение ведения журнала транзакций в Linux
Откройте окно терминала.
экспорт NSPR_LOG_MODULES =
после чего сразу:
POP3: 4
для регистрации POP
IMAP: 4
для ведения журнала IMAP
SMTP: 4
для ведения журнала SMTP
Нажмите Войти, Вы можете включить ведение журнала для нескольких протоколов, разделив их запятыми. Например, введите:
экспорт NSPR_LOG_MODULES = POP3: 4, SMTP: 4
для регистрации трафика POP и SMTP
экспорт NSPR_LOG_MODULES = IMAP: 4
регистрировать только IMAP-трафик
НажмитеВойти.
НажмитеВойти снова.
Выполните необходимые действия электронной почты в Mozilla Thunderbird.
Выйдите из Mozilla Thunderbird и найдите tbird.log.txt в своем домашнем каталоге.
Preferences
Since there are only a few protocols I flattened them all out of their combobox into a list where enabling them is done by setting the log level above zero. Initially all levels will be at zero and users would be expected to set the log level to something before restarting TB into logging mode. The assumption is that the developer would tell the person exactly which ones to turn on and to what levels. However many developers have said that no one really uses the alternate levels, it is really just an on or off from 0 to 5.
Logging Modules
According to mail troubleshoot and MailNews:LDAP_Address_Books there are 6 types of protocol logging.
- "all" for All Protocols
- "IMAP" for IMAP
- "POP3" for POP
- "NNTP" for NNTP
- "SMTP" for SMTP
- "LDAP" for LDAP
These can be provided for in a drop down selector.
Включить ведение журнала в Mozilla Thunderbird
Журналирование трафика разрешено только для сеанса, который вы запускаете из командной строки. Вам не нужно отключать его.
Соединение
Ваша организация или интернет-провайдер может предоставлять или требовать от вас использование прокси. Прокси работает как промежуточное звено между вашим компьютером и Интернетом. Он перехватывает все запросы в Интернет, чтобы увидеть, может ли он выполнить запрос с помощью своего кэша. Прокси используются, чтобы увеличить производительность, фильтровать запросы и скрыть ваш компьютер от Интернета для лучшей безопасности. Прокси часто являются частью функциональности корпоративных файрволлов.
Logging Tools
- Log Parsing - Logs can be difficult to parse because of their size. Andrew Sutherland has written a parsing script in Python for analyzing these logs. The script may need to be tweaked to suit your needs. There is more information at this bug comment.
- TBTracer addon by Thundersomething author "derdoc"
- loghelper addon by jtcranmer
Logging Levels
Again, the mail troubleshoot page describes 5 levels of logging.
- PR_LOG_NONE = 0, /* nothing */
- PR_LOG_ALWAYS = 1, /* always printed */
- PR_LOG_ERROR = 2, /* error messages */
- PR_LOG_WARNING = 3, /* warning messages */
- PR_LOG_DEBUG = 4, /* debug messages */
These can be provided for in a drop down selector.
№8 03-05-2006 19:50:20
Спасибо за пример, кажется понял в чём дело.
По умолчанию tb ставится в папку C:\Program Files\Mozilla Thunderbird\, и если логи писать именно в неё, то запись не идёт, хотя файл и создаётся. А если кинуть лог по более короткому пути (например, прямо в корень C:\), то всё пишется нормально.
Так что скорее всего проблема была в том, что в имени пути к файлу лога не поддреживаются пробелы и/или имя пути не должно быть слишком длинным (что есть "слишком" - тоже вопрос).
Это ещё раз говорит в пользу установки программ в папки с короткими путями, а не в стандартную C:\Program Files :)
Дисковое пространство
- Автоматически устанавливать обновления (рекомендовано: повышает безопасность): Thunderbird автоматически загружает и устанавливает обнаруженные обновления.
- Предупреждать меня, если при этом будут отключены какие-либо дополнения: Если вы желаете, чтобы вас уведомили, если обновления отключат какие-либо из установленных дополнений, выберите эту настройку.
Внимание: Если вы выберите эту настройку, вы не будете получать критические обновления безопасности, которые могут обеспечить вашу безопасность в онлайне, если только вы не будете часто производить ручную проверку обновлений.
Примечание: Вы должны запустить Thunderbird от имени администратора или от имени пользователя, который исходно устанавливал Thunderbird, чтобы установить обновления Thunderbird.
Примечание: Настройки обновления Thunderbird могут отсутствовать, если обновления контролируются системой управления пакетами вашего Linux.
- Автоматически устанавливать обновления (рекомендовано: повышает безопасность): Thunderbird автоматически загружает и устанавливает обнаруженные обновления.
- Предупреждать меня, если при этом будут отключены какие-либо дополнения: Если вы желаете, чтобы вас уведомили, если обновления отключат какие-либо из установленных дополнений, выберите эту настройку.
Внимание: Если вы выберите эту настройку, вы не будете получать критические обновления безопасности, которые могут обеспечить вашу безопасность в онлайне, если только вы не будете часто производить ручную проверку обновлений.
Примечание: Вы должны запустить Thunderbird от имени администратора или от имени пользователя, который исходно устанавливал Thunderbird, чтобы установить обновления Thunderbird.
Примечание: Вы должны запустить Thunderbird от имени пользователя root или от имени пользователя, который исходно устанавливал Thunderbird, чтобы установить обновления Thunderbird.
Сертификаты помогают производить шифрование и дешифрование подключений к веб-сайтам.
-
Когда сервер запрашивает личный сертификат: Некоторые сервера просят вас идентифицировать себя с помощью личного сертификата. Чтобы это сделать, они просят Thunderbird сгенерировать его для вас. При получении доступа к серверу в будущем Thunderbird спросит у вас, какой сертификат использовать. Если вы хотите, чтобы Thunderbird автоматически выбирал сертификат для вас, выберите настройку настройку Отправлять автоматически.
Примечание: Личный сертификат может содержать информацию, идентифицирующую личность, например, ваше имя или адрес. Поэтому он может нанести ущерб вашей приватности, если вы выберите настройку настройку Отправлять автоматически. Если вы это сделаете, то не будете извещены в случае, если веб-сайт будет запрашивать ваш личный сертификат и вы можете потерять возможность контроля за тем, кто может получать доступ к вашей персональной информации.
- Запрашивать у OCSP-серверов подтверждение текущего статуса сертификатов: Thunderbird может запрашивать у сервера OCSP (протокол статуса онлайн-сертификатов) подтверждение того, что сертификат все ещё действителен. По умолчанию Thunderbird подтверждает сертификат, если он предоставляется OCSP-сервером. Скорее всего, вам потребуется это изменить, только если это потребует ваше интернет-окружение.
- Управление сертификатами : Нажмите на эту кнопку, чтобы просмотреть сохранённые сертификаты, импортировать новые сертификаты или же сделать резервную копию или удалить старые сертификаты в Thunderbird.
- Устройства защиты : Устройства защиты могут зашифровать и дешифровать соединения и хранить сертификаты и пароли. Если вам необходимо использовать устройство защиты отличное от того, что есть в Thunderbird, нажмите кнопку Устройства защиты .
Эти прекрасные люди помогли написать эту статью:
Possible Improvements
- Could automate the uploading of information in a similar way to Breakpad
- Complicated and might ignore the local IT person case
- logging levels
- modules
- logging directory
Диалоговое окно Параметры соединения
- Без прокси: Используйте этот вариант, если не хотите использовать прокси.
- Автоматически определять настройки прокси для этой сети: Выберите этот вариант, если хотите, чтобы Thunderbird автоматически определил настройки прокси для вашей сети.
- Использовать системные настройки прокси: Выберите этот вариант, если хотите использовать настройки прокси, указанные для вашей операционной системы. (настройка по умолчанию)
- Ручная настройка сервиса прокси: Выберите этот вариант, если у вас есть список одного или нескольких прокси-серверов. Попросите у своего системного администратора информацию о настройках. Каждый прокси требует указания имени хоста и номера порта.
- Если одно и то же имя прокси и номер порта используются для всех протоколов, отметьте флажок Использовать этот прокси-сервер для всех протоколов.
- Не использовать прокси для: Список имён хостов или IP-адресов, которые не будут проходить через прокси.
- Обновить : Кнопка обновления загрузит доступные на данный момент настройки прокси.
Как получить доступ к IMAP Inbox в автономном режиме в Mozilla Thunderbird
Как получить доступ к электронным письмам IMAP в Mozilla Thunderbird, Mozilla SeaMonkey или Netscape, даже если вы в автономном режиме.
Оглавление
Other Important MailNews logging
- Log Gloda activity to console (Thunderbird only) Debugging Gloda
- Calendar/Lightning logging
- To show chat logging in the console, set PRPL_LOG=0 or the purple.debug.loglevel pref
- Logging for OTR is controlled by the chat.otr.trace boolean pref
Дополнительные настройки
Включение ведения журнала транзакций в Windows
Выбрать Все программы | Аксессуары | Командная строка от Начните меню.
set NSPR_LOG_MODULES =
после чего сразу:
POP3: 4
для регистрации POP
IMAP: 4
для ведения журнала IMAP
SMTP: 4
для ведения журнала SMTP
Вы можете включить ведение журнала для нескольких протоколов, разделив их запятыми. Например:
Чтобы зарегистрировать как POP, так и SMTP-трафик, введите
установить NSPR_LOG_MODULES = POP3: 4, SMTP: 4
Чтобы зарегистрировать только IMAP-трафик, введите
Нажмите Войти.
Нажмите Войти.
Нажмите Войти снова.
Выполните необходимые действия электронной почты в Mozilla Thunderbird.
Закройте Mozilla Thunderbird и найдите tbird_log.txt на рабочем столе.
Reference Documents
Интеграция с системой
- Всегда проверять при запуске, является ли Thunderbird почтовым клиентом по умолчанию: Выберите этот параметр, если хотите, чтобы Thunderbird проверял при запуске, является ли он почтовым клиентом по умолчанию. Сделав Thunderbird почтовым клиентом по умолчанию, вы будете уверены, что Thunderbird используется независимо от приложения, в котором есть функция отправки почты. Для получения дополнительной информации прочитайте статью Установка Thunderbird в качестве почтового клиента по умолчанию.
Options
Options that are important for proper usage and are going to be changed by the majority of users should be in the main interface so they are obvious and easily changed. Other options should be in a preferences menu or scuttled away in the about:config.
Диалоговое окно Уведомления о прочтении
логи в Thunderbird/Mozilla Mail
Здравствуйте. Интересует вопрос: есть ли в сабже возможность сохранять и смотреть логи соединения с POP3/SMTP сервером, что-нибудь типа "журнала" в The Bat (время, ответы сервера, количество переданных байт, принятых писем, и т.п.)? Иногда сервер вышибает соединение, и было бы неплохо посмотреть детальный отчёт о том, что там произошло. В FAQ нигде не нашёл.
Где-то в данном форуме эта тема уже кем-то поднималась, но осталась без ответа, так что спрашиваю ещё раз :)Автономная работа
Linux/unix
To generate an IMAP protocol log, run the following commands before running the application from the command line:
To get a log for another protocol, replace "IMAP" with e.g. "SMTP" or "POP3" in the above instructions.
Main module options within MailNews
MailNews applications (SeaMonkey/Thunderbird) allow these CASE SENSITIVE modules/protocols in both debug and release builds. In bug 1353919 these options have been unified, the old options are in parenthesis:
- BayesianFilter
- Filters
- IMAP (more below)
- IMAPOffline (before Thunderbird version 59: IMAPOFFLINE)
- LDAP (before Thunderbird version 59: ldap) --- NOTE! for Thunderbird 91+ LDAP logging is changed and does not use this way of logging. There, set the mailnews.ldap.loglevel pref to "All" and open the Error Console (Ctrl+Shift+J).
- Mailbox (before Thunderbird version 59: MAILBOX)
- MailDirStore
- MIME
- MsgBiff
- MsgCompose (before Thunderbird version 59: msgcompose)
- MsgCopyService (3.3a4 nightly builds starting 5/2/2011)
- MsgDB (level 1=opens/closes, level 5 lists open db's on close, number of msg hdrs in use) (before Thunderbird version 59: MSGDB)
- MsgPurge
- NNTP
- POP3 --- NOTE! for Thunderbird 99+ POP3 logging is changed and does not use this way of logging. There, set the mailnews.pop3.loglevel pref to "All" and open the Error Console (Ctrl+Shift+J).
- SMTP --- NOTE! for Thunderbird 91+ SMTP logging is changed and does not use this way of logging. There, set the mailnews.smtp.loglevel pref to "All" and open the Error Console (Ctrl+Shift+J).
Logging level
The number in MOZ_LOG specifies the level of logging to be used. A lower number reduces the amount of information being logged. Use "5" unless requested otherwise.
- 0 = Disabled /* Indicates logging is disabled. This should not be used directly in code. */
- 1 = Error /* An error occurred, generally something you would consider asserting in a debug build.*/
- 2 = Warning /* A warning often indicates an unexpected state. */
- 3 = Info /* An informational message, often indicates the current program state. */
- 4 = Debug /* A debug message, useful for debugging but too verbose to be turned on normally. */
- 5 = Verbose /* A message that will be printed a lot, useful for debugging program flow and will probably impact performance. */
Some modules may not work exactly according to the log levels noted above. Very few modules actually have more than one logging level
Reproduce Problem
- User has problems with Thunderbird
- Developer or IT person instructs user how to turn on logging
- User turns on logging
- Set logging modules and levels?? (I doubt this is worthwhile -- many users won't know enough to be smart here --davida)
- restart required
- forward it to their local IT person via email
- attach log file to a bug
- read the debug information (developers especially)
- restart required
- should offer to delete logs?
Generating a Protocol Log
№4 03-05-2006 09:16:08
Попробовал как там написано. Файл лога создаётся, но всё время пустой. И при нормальном приёме почты, и при сбоях. Тестировал на всех уровнях репорта (от "1" до "4"). При каких условиях Tb вообще скидывает информацию в лог, и что это должна быть за информация? Если можно, выложите кто-инбудь пример лога пожалуйста.
№6 03-05-2006 15:55:00
Да. Вот что именно прописал в tbstart.bat (работаю под виндами):
№5 03-05-2006 09:20:27
yag
Вместо Protocol писал POP, IMAP, etc.жЫзнь рандомна. и ничего с этим не поделаешь ;)
Other Useful NSPR Logging Options
The following modules may or may not be available in release builds, but are available in debug builds:
The following modules are not owned by Mail&News, but useful for problem analysis of Mail&News.
Common Use Cases
Here are some common use cases with steps taken by each party involved.
Уведомления о прочтении
Dell SupportAssist: Configuring SMTP settings (Май 2022).
Table of Contents:
Протокол электронной почты POP, IMAP и SMTP предназначен не только для трудолюбивого разработчика. Если вы хотите увидеть, что происходит за кулисами ваших обменов электронной почтой в Mozilla Thunderbird (особенно, если что происходит, это не так), регистрация может предоставить много информации, которая может помочь вам или вашему специалисту по технической поддержке диагностировать проблему.
Questions
- Do we notify someone if they change logging levels and do not restart thunderbird?
- Only while in logging mode?
- Assumption that this is necessary because we don't want people to forget and continue using thunerbird in logging mode beyond the task it's called for
- The current ON / off in the title is pretty lame, but I'm a little tired right now
№7 03-05-2006 16:24:47
Вот, например, часть лога на 4 уровне (вообще есть еще 5 кстати %)
Батник:Запустил, принял почту (принялась нормально) - сразу пошел лог.
Не должно вроде, но вдруг .\ мешает - попробуй убрать.
жЫзнь рандомна. и ничего с этим не поделаешь ;)
Contents
№9 04-05-2006 02:06:28
yag
Можешь попробовать заключить путь в кавычки, типа:Do not meddle in the affairs of Wizards, for they are subtle and quick to anger.
Logging prior to Thunderbird 55.0a1 / SeaMonkey 2.52a1
Around April 5, 2017, via bug 1222244 and blockers of bug 1219461, changes were merged to the Mozilla trunk which impacted logging functionality. Prior to these changes, the variable names used to configure logging were NSPR_LOG_MODULES and NSPR_LOG_FILE rather than MOZ_LOG and MOZ_LOG_FILE. If you are working with an older version, use the old variable names.
In addition, some log module names changed. The old names are documented below, but will eventually be removed (along with this section) when enough time has past that it is no longer necessary for most people to debug older versions of the applications. Of course, the obsolete documentation will remain accessible in the history of this page.
Mac OS X
To generate an IMAP protocol log, create a text file that contains the desired commands in a text editor such as BBEdit:
If on 10.5 change the last line to arch -arch i386 /Applications/Thunderbird.app/Contents/MacOS/thunderbird-bin &
Save this file with a filename ending in .command, add execute permission by typing "chmod a+x filename" in a Terminal window, then double-click it.
To get a log for another protocol, replace "imap" with e.g. "smtp" or "pop3" in the above instructions.
Alternatively, you can setup a file so that the protocol tracing will always be in effect. To do this open a Terminal window, cd into the .MacOSX directory under your login directory and create a file named environment.plist containing the following. Non-unix users can use the "pico" editor which I think is available on OS X by default:
Станьте волонтёром
Растите и делитесь опытом с другими. Отвечайте на вопросы и улучшайте нашу базу знаний.
Многие проблемы быстрее решаются поиском по форуму и чтением FAQ, чем созданием новой темы и томительным ожиданием ответа.
Каковы настройки IMAP Mail IMAP?
Найдите здесь настройки сервера AOL Mail IMAP для доступа к учетной записи AOL Mail в другой программе или приложении электронной почты.
Mockups
These are the mockups for the various pages required to make this interaction a reality.
Concerns
- Logging slows down Thunderbird quite a bit
- Logging should only be on when needed, then off the rest of the time
- Our interactions require a restart into logging mode and the next restart would take the user out of that mode
- Current preferences interface always displays the location of the log directory and allows for it to be changed
- Current preferences mockups do not do a good job of this and the main interface requires some kind of indication
Mail Interface
The mail interface requires some kind of indication that the user is running in logging mode (not completed yet). We also have a nice way for people to mail their log files off, however this extra menu item would only be present during logging mode so it might not be that useful as much as it's nice.
Mailnews logs provide data to help developers and triagers understand what is causing an issue. Please enable Thunderbird to write extra information to a log file, by setting two environment variables before running a MailNews application.
№2 11-04-2006 11:27:43
И ещё: если для просмотра логов нужны какие-то XPI - расширения, то киньте ссылку на страницу их разработчиков пожалуйста. Или на само расширение, если нет другой возможности.
Windows
Create a batch file by copying the lines below and paste them into the notepad application, and save the file as "create_imap_log.bat". Variables MOZ_LOG and MOZ_LOG_file must not contain quotation marks.
- To log another protocol, replace "IMAP" with e.g. "SMTP" or "POP3" in the above instructions
- XP and Vista users should specify %ProgramFiles% instead of %ProgramFiles(x86)% (which is for Windows 7) - assuming Thunderbird was installed to it's default location.
- On versions with User Account Control such as Vista and Windows 7, the batch file must be run with administrator privileges. Right click on the batch file and select "Run as administrator". Otherwise the log file will not be created and no UAC warnings will be generated.
Now run the batch file. The example puts the log file on your desktop:
You can set up the batch file to be run using of these methods: double click the batch file, create a shortcut, add it to start menu, from a command window prompt, or from the start>run dialog.
Logging commands can also typed directly in the command prompt instead of running a batch file. On Windows 2000, XP, 2003 Server: Start>Programs>Accessories>Command Prompt. On later windows versions, you may type "cmd" and press enter in the launch dialog of the Start button.
Environment Variables to set
Two variables must be set. You can set them globally as system environment variables (find instructions for your OS), or as local environment variables in a batch file/script (described below), or just on the command line.
- MOZ_LOG - CASE SENSITIVE module name and log level separated by colon, multiple modules separated by comma, and additional options:
- Example module and loglevel: POP3:5,SMTP:3,timestamp
- Example module and loglevel: IMAP:5,timestamp
- ,timestamp adds a timestamp to all log lines - generally recommended. required for all timeouts and issues which need to be correlated to an action at a given time of day (as of 2009-05-13 3.0b3pre builds)
- optional, not recommended (because it makes logging slower and affects your performance) ,sync : Buffering in log writing is disabled that so latest log data can be seen by tailing or copying the log file.
- MOZ_LOG_FILE - Path (with name) to the log file
- If MOZ_LOG_FILE is not set, then the output will be logged to the console where the application was launched.
- Since Thunderbird 70, the .moz_log extension will be added to the file name
- The log file is written over every time you re-launch the Mozilla application.
- If you are running multiple Mozilla applications (Firefox and Thunderbird) they may stomp on each other in the log, or even wipe out the others log entries.
- You must have write access to the directory of the log file.
Other Protocol Logging options within MailNews
The following modules may or may not be available in release builds, but are available in debug builds:
- IMAPAutoSync (before Thunderbird version 59: ImapAutoSync)
- IMAP_CS (for CONDSTORE)
- IMAP_KW (for keyword (tag) processing)
- IMAPCache (for IMAP caching of messages in no-sync folders)
- Import (before Thunderbird version 59: IMPORT)
- MAPI
- MAPIAddressBook
- Movemail
- AbOutlookDirectory (before Thunderbird version 59: nsAbOutlookDirectoryLog)
- AbOutlookDirFactory (before Thunderbird version 59: nsAbOutlookDirFactoryLog)
- AbWinHelper (before Thunderbird version 59: nsAbWinHelperLog)
- WABAddressBook
- negotiateauth (Mozilla core option)
Прокрутка
Читайте также:
- Logging should only be on when needed, then off the rest of the time