Documentation/TDLib-logs.md
When you want to report an issue with the Unigram app, you could be asked to send your logs.
⚠️ Never send logs to an unknown person, send them only to Telegram Support (Settings > Ask a Question) or the @tdlib_bot.
While you are in the sign-in screen, click the app version 10 times.
Open the hamburger menu, select Settings, then click on the app version 10 times
While being in the Diagnostic settings, under TDLib Logs select Verbosity level and set it to Debug.
To send logs through the app you must disable them first:
Navigate to the Diagnostics settings, select Verbosity level and set it to Error.
You can now click on the item below (marked as tdlib_log.txt): a dialog will open and you will be able to pick a chat where to send the file.
While you are signed out, you won't be able to send logs via the app, you have to browse for the log manually. Navigate to LocalState (the easiest way is to press Windows+R and paste the path there). Grab the tdlib_log.txt file and send it.
If you're using Unigram from the Store, this is the location:
%LOCALAPPDATA%\Packages\38833FF26BA1D.UnigramPreview_g9c9v27vpyspw\LocalState
Otherwise, the folder that you're looking for is the following:
%LOCALAPPDATA%\Packages\TelegramFZ-LLC.Unigram_1vfw5zm9jmzqy\LocalState