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
--enable-logging=stderr --v=0 --vmodule=*rewards*=5 - you should see the requests and responses for rewards being dumped into the terminal/CLI
--enable-logging --v=0 --vmodule=*rewards*=5 - you should see the requests and responses for rewards being dumped into /BraveSoftware/Brave-Browser-Beta/chrome_debug.log
On Windows: AppData\Local\BraveSoftware\Brave-Browser-Beta\User Data\chrome_debug.log
Note: You can control the amount of logs you receive using --v=1, --v=2 and --v=3 as @NejcZdovc mentioned below but be warned, there's a LOT of data that's dumped. If you're not using --v=0, I would recommend dumping the log into chrome_debug.log or you'll flood the terminal.
Original Posted Issue
Add option for QA to print out logs into the terminal.
You can use 1-3 levels like normal logs npm start -- --v=2, where 2 is level.
For 4-5 we use it as verbose logging.You can use it like npm start -- --vmodule=*rewards*=4, where 4 is level. If you specify 4 as a level, you will get logs for levels 4. If you specify 5, you will get levels 4 and 5.
The text was updated successfully, but these errors were encountered:
Test Plan
--enable-logging=stderr --v=0 --vmodule=*rewards*=5
- you should see the requests and responses for rewards being dumped into the terminal/CLI--enable-logging --v=0 --vmodule=*rewards*=5
- you should see the requests and responses for rewards being dumped into/BraveSoftware/Brave-Browser-Beta/chrome_debug.log
On Windows:
AppData\Local\BraveSoftware\Brave-Browser-Beta\User Data\chrome_debug.log
Note: You can control the amount of logs you receive using
--v=1
,--v=2
and--v=3
as @NejcZdovc mentioned below but be warned, there's a LOT of data that's dumped. If you're not using--v=0
, I would recommend dumping the log intochrome_debug.log
or you'll flood the terminal.Original Posted Issue
Add option for QA to print out logs into the terminal.
QA will be able to use LOG/VLOG for rewards.
We should have 5 levels:
You can use 1-3 levels like normal logs
npm start -- --v=2
, where 2 is level.For 4-5 we use it as verbose logging.You can use it like
npm start -- --vmodule=*rewards*=4
, where 4 is level. If you specify 4 as a level, you will get logs for levels 4. If you specify 5, you will get levels 4 and 5.The text was updated successfully, but these errors were encountered: