TfTHacker/obsidian42-brat

Enable Logging doesn't save the logs anymore ? ๐Ÿค”

I-Pch opened this issue ยท 1 comments

Hi there ๐Ÿ˜Š !

I've just install BRAT 1.0.1 in one of my vaults, installed a plugin beta through it (which went fine) and for some reasons, decided to take a look a the logs ๐Ÿ˜„ ... only to discover that despite having Enable Logging toggled On, I didn't had a BRAT-log.md file anywhere in my vault ๐Ÿคทโ€โ™€๏ธ (BRAT stayed silent about this).

This got me curious ๐Ÿค”, so I decided to install BRAT in another vault of mine, I made sure Enable Logging was toggled On and created a BRAT-log.md file at the root of my vault myself.
In BRAT's settings, in the dedicated BRAT Log File Location, I entered BRAT-log (without the .md ๐Ÿ˜Š ) and then proceeded to install a plugin beta...
I received a notification informing me that the plugin was installed but the BRAT-log.md stayed empty for some reason ๐Ÿคทโ€โ™€๏ธ ...

I found this in the console though:
BRAT logging

Something which perplexed me a little was that the "search" for the BRAT Log File Location didn't seem to really search anything ๐Ÿค” ... I can type anything in there, there doesn't seem to be a suggester appearing...

Here's a screenshot of the concerned BRAT settings:
BRAT Logging Settings

And here's the BRAT-log.md I created before installing the beta plugin ๐Ÿ˜Š (which stayed empty):
BRAT-log

Here's Obsidian's debug info of the concerned vault:

SYSTEM INFO:
	Obsidian version: v1.6.5
	Installer version: v1.6.5
	Operating system: Darwin Kernel Version 20.6.0: Thu Jul  6 22:12:47 PDT 2023; root:xnu-7195.141.49.702.12~1/RELEASE_X86_64 20.6.0
	Login status: logged in
	Catalyst license: supporter
	Insider build toggle: on
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 1
	Restricted mode: off
	Plugins installed: 8
	Plugins enabled: 6
		1: Templater v2.3.3
		2: Meta Bind v1.1.2
		3: CSS Editor v1.2.1
		4: JS Engine v0.1.6
		5: BRAT v1.0.1
		6: Numerals v1.5.1

RECOMMENDATIONS:
	Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

I know that Logging was working a while back (at least, in yet another vault of mine ๐Ÿ˜‡ ) but here, I have no idea regarding what could be happening ๐Ÿ˜…

Well, it appears that I just needed to toggle On: Enable Verbose Logging for the logs to appear in its dedicated file ๐Ÿคฆโ€โ™€๏ธ ๐Ÿ˜… !
TIL ๐Ÿ˜… (Sorry the "user mistake" issue ๐Ÿ˜‡ )