# Brave always creates a debug.log file in my Desktop

**URL:** <https://community.brave.app/t/brave-always-creates-a-debug-log-file-in-my-desktop/185177>\
**Category:** Desktop Support\
**Tags:** windows\
**Created:** [December 6, 2020, 9:43pm UTC](https://community.brave.app/t/brave-always-creates-a-debug-log-file-in-my-desktop/185177 "2020-12-06T21:43:11Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmacar](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gmacar](https://community.brave.app/u/gmacar)\
**Post date:** [December 6, 2020, 9:43pm UTC](https://community.brave.app/t/brave-always-creates-a-debug-log-file-in-my-desktop/185177/1 "2020-12-06T21:43:11Z")

</div>

As the title says, Brave always creates a debug.log file in my Desktop (version 1.17.75 on Windows 10). The file can only be deleted after I close Brave.  
At the moment, the content of the file is  
`[1206/151318.251:ERROR:directory_reader_win.cc(43)] FindFirstFile: Impossibile trovare il percorso specificato. (0x3)` (it’s in Italian)

---

<div class="post-metadata">

**Author:** ![Mattches](https://sea1.discourse-cdn.com/brave/user_avatar/community.brave.app/mattches/32/25189_2.png) [@Mattches](https://community.brave.app/u/Mattches)\
**Post date:** [December 7, 2020, 9:09pm UTC](https://community.brave.app/t/brave-always-creates-a-debug-log-file-in-my-desktop/185177/2 "2020-12-07T21:09:57Z")

</div>

@gmacar,  
Can you search on your system for a file called `BraveUpdate.ini` and see if you have one somewhere?

---

<div class="post-metadata">

**Author:** ![gmacar](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gmacar](https://community.brave.app/u/gmacar)\
**Post date:** [December 8, 2020, 8:17am UTC](https://community.brave.app/t/brave-always-creates-a-debug-log-file-in-my-desktop/185177/3 "2020-12-08T08:17:24Z")

</div>

@Mattches `BraveUpdate.ini` does not exist in my C: drive…

---

<div class="post-metadata">

**Author:** ![Mattches](https://sea1.discourse-cdn.com/brave/user_avatar/community.brave.app/mattches/32/25189_2.png) [@Mattches](https://community.brave.app/u/Mattches)\
**Post date:** [December 8, 2020, 5:58pm UTC](https://community.brave.app/t/brave-always-creates-a-debug-log-file-in-my-desktop/185177/4 "2020-12-08T17:58:21Z")

</div>

@gmacar,  
It actually looks like this is an issue for lots of people – seems to be inherited from Chromium:

> **[711159 - 
 
 
 chromium -
 
 
 An open-source project to help move the web...](https://bugs.chromium.org/p/chromium/issues/detail?id=711159)**

  
☝ This bug report states that the issue should be resolved in what appears to be the next Chromium bump – Brave will inherit this change as well.

---

<div class="post-metadata">

**Author:** ![CrossedLemur](https://sea1.discourse-cdn.com/brave/user_avatar/community.brave.app/crossedlemur/32/65896_2.png) [@CrossedLemur](https://community.brave.app/u/CrossedLemur)\
**Post date:** [January 1, 2021, 8:02pm UTC](https://community.brave.app/t/brave-always-creates-a-debug-log-file-in-my-desktop/185177/5 "2021-01-01T20:02:03Z")

</div>

For the time being until this is fixed, is it possible to make it put the debug file somewhere else so its not clogging up my desktop?

---

<div class="post-metadata">

**Author:** ![gmacar](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gmacar](https://community.brave.app/u/gmacar)\
**Post date:** [January 1, 2021, 9:21pm UTC](https://community.brave.app/t/brave-always-creates-a-debug-log-file-in-my-desktop/185177/6 "2021-01-01T21:21:21Z")

</div>

This bug is really annoying 😡

---

<div class="post-metadata">

**Author:** ![Mattches](https://sea1.discourse-cdn.com/brave/user_avatar/community.brave.app/mattches/32/25189_2.png) [@Mattches](https://community.brave.app/u/Mattches)\
**Post date:** [January 4, 2021, 7:02pm UTC](https://community.brave.app/t/brave-always-creates-a-debug-log-file-in-my-desktop/185177/7 "2021-01-04T19:02:40Z")

</div>

To confirm, @CrossedLemur @gmacar – you’re still getting debug.log files after closing Brave every time?

---

<div class="post-metadata">

**Author:** ![CrossedLemur](https://sea1.discourse-cdn.com/brave/user_avatar/community.brave.app/crossedlemur/32/65896_2.png) [@CrossedLemur](https://community.brave.app/u/CrossedLemur)\
**Post date:** [January 4, 2021, 7:33pm UTC](https://community.brave.app/t/brave-always-creates-a-debug-log-file-in-my-desktop/185177/8 "2021-01-04T19:33:56Z")

</div>

It seems like the problem has went away, I sent that original reply while I was on vacation without my computer because I wanted to know how to fix it for when I got back.

---

<div class="post-metadata">

**Author:** ![gmacar](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gmacar](https://community.brave.app/u/gmacar)\
**Post date:** [January 4, 2021, 8:06pm UTC](https://community.brave.app/t/brave-always-creates-a-debug-log-file-in-my-desktop/185177/9 "2021-01-04T20:06:10Z")

</div>

> [@Mattches](#):
>
> To confirm, @CrossedLemur @gmacar – you’re still getting debug.log files after closing Brave every time?

At the moment I have a debug.log on the desktop, created (or modified) on 01/01/2021. I’m going to delete it and I’ll post here if it gets created again.

---

<div class="post-metadata">

**Author:** ![Mattches](https://sea1.discourse-cdn.com/brave/user_avatar/community.brave.app/mattches/32/25189_2.png) [@Mattches](https://community.brave.app/u/Mattches)\
**Post date:** [January 4, 2021, 10:49pm UTC](https://community.brave.app/t/brave-always-creates-a-debug-log-file-in-my-desktop/185177/10 "2021-01-04T22:49:40Z")

</div>

@gmacar,  
Please do – I’m in contact with a couple devs who may have more information.

---

<div class="post-metadata">

**Author:** ![stucca](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@stucca](https://community.brave.app/u/stucca)\
**Post date:** [January 4, 2021, 11:22pm UTC](https://community.brave.app/t/brave-always-creates-a-debug-log-file-in-my-desktop/185177/11 "2021-01-04T23:22:29Z")

</div>

For me, the problem startet occuring since I use the --app parameter to launch some web-apps

---

<div class="post-metadata">

**Author:** ![gmacar](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gmacar](https://community.brave.app/u/gmacar)\
**Post date:** [January 7, 2021, 5:37pm UTC](https://community.brave.app/t/brave-always-creates-a-debug-log-file-in-my-desktop/185177/12 "2021-01-07T17:37:00Z")

</div>

> [@Mattches](#):
>
> @gmacar,  
> Please do – I’m in contact with a couple devs who may have more information.

`debug.log` has reappeared today.  
Content:

> [0106/175157.839:ERROR:directory\_reader\_win.cc(43)] FindFirstFile: Impossibile trovare il percorso specificato. (0x3)

---

<div class="post-metadata">

**Author:** ![Mattches](https://sea1.discourse-cdn.com/brave/user_avatar/community.brave.app/mattches/32/25189_2.png) [@Mattches](https://community.brave.app/u/Mattches)\
**Post date:** [January 7, 2021, 6:09pm UTC](https://community.brave.app/t/brave-always-creates-a-debug-log-file-in-my-desktop/185177/13 "2021-01-07T18:09:01Z")

</div>

@gmacar,  
Have you ever enabled logging before or have you changed your group policy settings at any point? Further, can you ensure that there are no command line args attached to the end of your Brave browser application?

You can do this by right-clicking on the shortcut you use to open the browser, then click `Properties` and check the `Target` path – ensure that it does _not_ end with anything that looks like `--enable-logging --v=1`?

---

<div class="post-metadata">

**Author:** ![gmacar](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gmacar](https://community.brave.app/u/gmacar)\
**Post date:** [January 7, 2021, 6:50pm UTC](https://community.brave.app/t/brave-always-creates-a-debug-log-file-in-my-desktop/185177/14 "2021-01-07T18:50:51Z")

</div>

I’ve never changed any settings or files.  
The shortcut launches `"C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe"`

---

<div class="post-metadata">

**Author:** ![CrossedLemur](https://sea1.discourse-cdn.com/brave/user_avatar/community.brave.app/crossedlemur/32/65896_2.png) [@CrossedLemur](https://community.brave.app/u/CrossedLemur)\
**Post date:** [January 7, 2021, 10:16pm UTC](https://community.brave.app/t/brave-always-creates-a-debug-log-file-in-my-desktop/185177/15 "2021-01-07T22:16:37Z")

</div>

the problem is back now

---

<div class="post-metadata">

**Author:** ![clifton](https://sea1.discourse-cdn.com/brave/user_avatar/community.brave.app/clifton/32/27088_2.png) [@clifton](https://community.brave.app/u/clifton)\
**Post date:** [January 8, 2021, 5:56am UTC](https://community.brave.app/t/brave-always-creates-a-debug-log-file-in-my-desktop/185177/16 "2021-01-08T05:56:05Z")

</div>

Hey there folks! There is a fix for this which will be coming in our 1.19 release on Jan 19th (which features Chromium 88). The upstream bug and details are captured here:

> **[711159 - 
 
 
 chromium -
 
 
 An open-source project to help move the web...](https://bugs.chromium.org/p/chromium/issues/detail?id=711159)**

Apologies for the inconvenience. It should be fixed on Nightly and will be working through Beta soon before the 1.19 release happens

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/brave/original/3X/1/8/182067f3480d1a5e7aea5ae3131b116ca1ef7918.png) [@system](https://community.brave.app/u/system)\
**Post date:** [February 7, 2021, 5:56am UTC](https://community.brave.app/t/brave-always-creates-a-debug-log-file-in-my-desktop/185177/17 "2021-02-07T05:56:08Z")

</div>

Closed on February 7, 2021, 5:56am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
