You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm can confirm that when I use log::info! I'm seeing it appear in the file. I have also tried setting the log level to Trace and Error in case there is some issue regarding enum values. I'm still keep getting trace logs which leads to me to the conclusion that the log level is not being respected.
Reproduction
No response
Expected behavior
The log file in the specified folder should only contain logs greater than or equal to the specified level.
Idk if this helps but I'm seeing the trace logs on my terminal when I run pnpm tauri dev. Shouldn't it not show those logs on stdout as I've configured the logger target to only be LogsDir?
The text was updated successfully, but these errors were encountered:
Describe the bug
I am currently trying to use the logging plugin that Tauri provides. I've followed the guide and have set it up with following lines
I've also installed
log = "0.4"
as I intend to use the logger only on the rust side.However, when I open
$currentUser/Library/Logs/$app-identifier/logs.log
, I'm seeing trace logs too.I'm can confirm that when I use
log::info!
I'm seeing it appear in the file. I have also tried setting the log level toTrace
andError
in case there is some issue regarding enum values. I'm still keep getting trace logs which leads to me to the conclusion that the log level is not being respected.Reproduction
No response
Expected behavior
The log file in the specified folder should only contain logs greater than or equal to the specified level.
Full
tauri info
outputStack trace
No response
Additional context
Idk if this helps but I'm seeing the trace logs on my terminal when I run
pnpm tauri dev
. Shouldn't it not show those logs onstdout
as I've configured the logger target to only beLogsDir
?The text was updated successfully, but these errors were encountered: