DVMAX Scheduler / Browser Logging in Chrome



Step 1: Set Google Chrome to launch with Logging


In DVMAX Client, go to the Section menu, hold down SHIFT, and click System Constants.
When the warning appears, click I Understand.
Find the setting px.paths.browserPath.station01 (replace 01 with the station ID of that computer
Change the Value to cmd.exe /C start chrome --enable-logging --v=1

Find the setting px.paths.startChromeOnWindows
Change the Value to cmd.exe /C start chrome --enable-logging --v=1

Close the Functions tab by clicking the red X.

Step 2: Configure Windows to Save the logs twice a day

Run Windows Task Scheduler
Set the Task to run daily, every day. Use a time of 12 pm and 6pm (2x a day)

Create a batch file with the following:
copy "%LOCALAPPDATA%\Google\Chrome\User Data\chrome_debug.log" "C:\Users\%username%\Desktop\SchedulerLogs\chrome_debug__%date:~-4,4%%date:~-7,2%%date:~-10,2%_%time:~0,2%_%time:~3,2%_%time:~6,2%.log"

Set the task to launch the new .bat file.